Rework deploy scripts to correctly build and handle multiple environments.
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
VUE_APP_PM_API_BASE=https://pm.jdb-labs.com/api
|
||||
VUE_APP_LOG_LEVEL=INFO
|
||||
VUE_APP_API_LOG_LEVEL=ERROR
|
1
web/.env.production
Symbolic link
1
web/.env.production
Symbolic link
@ -0,0 +1 @@
|
||||
../.env.prod
|
@ -8,7 +8,10 @@ const VERSION = {
|
||||
module.exports = {
|
||||
devServer: {
|
||||
proxy: {
|
||||
'/api': { target: 'http://localhost:8081' }
|
||||
'/api': {
|
||||
pathRewrite: { '^/api': '/v0' },
|
||||
target: 'http://localhost:8081'
|
||||
}
|
||||
},
|
||||
host: 'localhost',
|
||||
disableHostCheck: true
|
||||
|
Reference in New Issue
Block a user