|
|
@@ -10,7 +10,13 @@ module.exports = {
|
|
|
// Paths
|
|
|
assetsSubDirectory: 'static',
|
|
|
assetsPublicPath: '/',
|
|
|
- proxyTable: {},
|
|
|
+ proxyTable: {
|
|
|
+ // proxy all backend requests to backend server
|
|
|
+ '/api': {
|
|
|
+ target: 'http://localhost:8090',
|
|
|
+ changeOrigin: true
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
host: 'localhost', // can be overwritten by process.env.HOST
|