api: Change root application path to '/v0' instead of '/api'.
This commit is contained in:
parent
31053c1014
commit
ce582383c3
@ -207,7 +207,7 @@ proc start*(ctx: PMApiContext): void =
|
||||
|
||||
settings:
|
||||
port = Port(ctx.cfg.port)
|
||||
appName = "/api"
|
||||
appName = "/v0"
|
||||
|
||||
routes:
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
NODE_ENV=production
|
||||
VUE_APP_PM_API_BASE=https://pmapi-dev.jdb-labs.com/api
|
||||
VUE_APP_PM_API_BASE=https://pmapi-dev.jdb-labs.com/v0
|
||||
VUE_APP_LOG_LEVEL=INFO
|
||||
VUE_APP_API_LOG_LEVEL=ERROR
|
||||
|
@ -1,3 +1,3 @@
|
||||
VUE_APP_PM_API_BASE=https://pmapi.jdb-labs.com/api
|
||||
VUE_APP_PM_API_BASE=https://pmapi.jdb-labs.com/v0
|
||||
VUE_APP_LOG_LEVEL=INFO
|
||||
VUE_APP_API_LOG_LEVEL=ERROR
|
||||
|
@ -8,7 +8,7 @@ const VERSION = {
|
||||
module.exports = {
|
||||
devServer: {
|
||||
proxy: {
|
||||
'/api': { target: 'http://localhost:8081' }
|
||||
'/v0': { target: 'http://localhost:8081' }
|
||||
},
|
||||
host: 'localhost',
|
||||
disableHostCheck: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user