Commit a5e9bd7a by xinnian.yang

修改请求前缀

1 parent 021806cc
Showing with 7 additions and 6 deletions
apiVersion: v1 apiVersion: v1
data: data:
production-base.js: | production-base.js: |
const host = window.location.origin
const productionHost = { const productionHost = {
'baseUrl': '/api/v1', 'baseUrl': `${host}/api/v1`,
'rootUrl': '/', 'rootUrl': `${host}`,
'jupyterRootUrl': '/', 'jupyterRootUrl': `${host}`,
'baseWebSocket': '/api/v1', 'baseWebSocket': `${host}/api/v1`,
'apiTestUrl': '/', 'apiTestUrl': `${host}`,
'adminUrl': '/admin/login', 'adminUrl': `${host}/admin/login`,
'mockUrl': '', 'mockUrl': '',
} }
const kplStream = 'kpl_stream' const kplStream = 'kpl_stream'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!