Commit 00a79c57 by tingweiwang

Update cfg-kpl-edu-frontend.yaml

1 parent 6481c312
Showing with 9 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': '{{ kpl_edu_backend }}/api/v1', 'baseUrl': `${host}/api/v1`,
'rootUrl': '{{ kpl_edu_backend }}/api/v1', 'rootUrl': `${host}/api/v1`,
'jupyterRootUrl': '{{ kpl_edu_backend }}', 'jupyterRootUrl': `${host}`,
'baseWebSocket': '{{ kpl_edu_back_socket }}/api/v1', 'baseWebSocket': `${host.replace('http', 'ws')}/api/v1`,
'apiTestUrl': '{{ kpl_edu_backend }}', 'apiTestUrl': `${host}`,
'adminUrl': '{{ kpl_edu_backend }}/admin/login', 'adminUrl': `${host}/admin/login`,
} }
# const kplStream = 'kpl_stream'
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: cfg-kpl-edu-frontend name: cfg-kpl-edu-frontend
namespace: kpl namespace: kpl
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!