Authored by wangtao

打包配置

... ... @@ -7,6 +7,8 @@ server:
enabled: true
spring:
# profiles:
# active: dev43
application:
name: aj-report
servlet:
... ...
... ... @@ -44,7 +44,7 @@ module.exports = {
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
index: path.resolve(__dirname, '../../report-core/src/main/resources/static/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../../report-core/src/main/resources/static/'),
... ...
'use strict'
module.exports = {
NODE_ENV: '"production"'
NODE_ENV: '"production"',
BASE_API: '""',
MONITOR_GATEWAY: '""'
}
... ...