mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 02:24:08 +00:00
fix spawn page link
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const jhapiRequest = (endpoint, method, data) => {
|
||||
let base_url = window.base_url,
|
||||
let base_url = window.base_url || "/",
|
||||
api_url = `${base_url}hub/api`;
|
||||
return fetch(api_url + endpoint, {
|
||||
method: method,
|
||||
|
Reference in New Issue
Block a user