Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
configmap-kpl
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 00a79c57
authored
Jan 21, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cfg-kpl-edu-frontend.yaml
1 parent
6481c312
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
kpl/cfg-kpl-edu-frontend.yaml
kpl/cfg-kpl-edu-frontend.yaml
View file @
00a79c5
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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment