|
@@ -3,10 +3,12 @@
|
|
|
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
|
|
|
|
const path = require('path')
|
|
|
-const proxyUrl = 'https://dev.colexiu.com'
|
|
|
+// const proxyUrl = 'https://dev.colexiu.com'
|
|
|
+const proxyUrl = 'https://test.dayaedu.com'
|
|
|
+
|
|
|
module.exports = {
|
|
|
dev: {
|
|
|
-
|
|
|
+ host:'0.0.0.0',
|
|
|
// Paths
|
|
|
assetsSubDirectory: 'static',
|
|
|
assetsPublicPath: '/',
|
|
@@ -15,7 +17,7 @@ module.exports = {
|
|
|
target: proxyUrl,
|
|
|
changeOrigin: true
|
|
|
},
|
|
|
- '/api-admin': {
|
|
|
+ '/api-web': {
|
|
|
target: proxyUrl,
|
|
|
changeOrigin: true
|
|
|
},
|
|
@@ -27,7 +29,7 @@ module.exports = {
|
|
|
},
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
- host: 'localhost', // can be overwritten by process.env.HOST
|
|
|
+ host: '0.0.0.0', // can be overwritten by process.env.HOST
|
|
|
useLocalIp: true,
|
|
|
port: 8090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
|
autoOpenBrowser: false,
|