Commit 00a79c57 by tingweiwang

Update cfg-kpl-edu-frontend.yaml

1 parent 6481c312
Showing with 9 additions and 6 deletions
apiVersion: v1
data:
production-base.js: |
const host = window.location.origin
const productionHost = {
'baseUrl': '{{ kpl_edu_backend }}/api/v1',
'rootUrl': '{{ kpl_edu_backend }}/api/v1',
'jupyterRootUrl': '{{ kpl_edu_backend }}',
'baseWebSocket': '{{ kpl_edu_back_socket }}/api/v1',
'apiTestUrl': '{{ kpl_edu_backend }}',
'adminUrl': '{{ kpl_edu_backend }}/admin/login',
'baseUrl': `${host}/api/v1`,
'rootUrl': `${host}/api/v1`,
'jupyterRootUrl': `${host}`,
'baseWebSocket': `${host.replace('http', 'ws')}/api/v1`,
'apiTestUrl': `${host}`,
'adminUrl': `${host}/admin/login`,
}
# const kplStream = 'kpl_stream'
kind: ConfigMap
metadata:
name: cfg-kpl-edu-frontend
namespace: kpl
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!