mirror of
https://github.com/portainer/portainer.git
synced 2026-06-23 07:20:13 +00:00
fix(webpack): fix common cfg after webpack-dev-server upgrade [r8s-841] (#1848)
This commit is contained in:
@@ -103,9 +103,12 @@ module.exports = {
|
||||
},
|
||||
compress: true,
|
||||
port: 8999,
|
||||
proxy: {
|
||||
'/api': 'http://localhost:9000',
|
||||
},
|
||||
proxy: [
|
||||
{
|
||||
context: ['/api'],
|
||||
target: 'http://localhost:9000',
|
||||
},
|
||||
],
|
||||
open: true,
|
||||
devMiddleware: {
|
||||
writeToDisk: true,
|
||||
|
||||
Reference in New Issue
Block a user