mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-30 21:52:28 +08:00
chore: upgrade webpack, fix error
This commit is contained in:
@@ -49,9 +49,7 @@ const server = new WebpackDevServer(
|
||||
static: {
|
||||
directory: path.join(__dirname, '../build'),
|
||||
},
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
},
|
||||
headers: { 'Access-Control-Allow-Origin': '*' },
|
||||
allowedHosts: 'all',
|
||||
devMiddleware: {
|
||||
publicPath: `http://localhost:${process.env.PORT}`,
|
||||
|
||||
Reference in New Issue
Block a user