|
@@ -9,9 +9,9 @@ module.exports = {
|
|
|
|
|
|
// Paths
|
|
// Paths
|
|
assetsSubDirectory: 'static',
|
|
assetsSubDirectory: 'static',
|
|
- assetsPublicPath: '/dw',
|
|
|
|
|
|
+ assetsPublicPath: '/dw/',
|
|
proxyTable: {
|
|
proxyTable: {
|
|
- '/api': {
|
|
|
|
|
|
+ '/api/dwsurvey': {
|
|
target: 'http://localhost:8080/',//本地开发环境只需要修改这个配置,修改为后端服务地址即可
|
|
target: 'http://localhost:8080/',//本地开发环境只需要修改这个配置,修改为后端服务地址即可
|
|
changeOrigin: true,//如果需要跨域
|
|
changeOrigin: true,//如果需要跨域
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
@@ -58,7 +58,7 @@ module.exports = {
|
|
// Paths
|
|
// Paths
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
assetsSubDirectory: 'static',
|
|
assetsSubDirectory: 'static',
|
|
- assetsPublicPath: '/dw',
|
|
|
|
|
|
+ assetsPublicPath: '/dw/',
|
|
|
|
|
|
/**
|
|
/**
|
|
* Source Maps
|
|
* Source Maps
|