mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-08 10:16:17 +00:00
Update
This commit is contained in:
2
src/static/app/dist/assets/index.js
vendored
2
src/static/app/dist/assets/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -19,6 +19,10 @@ const getUrl = (url) => {
|
|||||||
if (apiKey){
|
if (apiKey){
|
||||||
return `${apiKey.host}${url}`
|
return `${apiKey.host}${url}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("URL fetching: ", import.meta.env.MODE === 'development' ? url
|
||||||
|
: `${window.location.protocol}//${window.location.host}${window.location.pathname}${url}`)
|
||||||
|
|
||||||
return import.meta.env.MODE === 'development' ? url
|
return import.meta.env.MODE === 'development' ? url
|
||||||
: `${window.location.protocol}//${window.location.host}${window.location.pathname}${url}`
|
: `${window.location.protocol}//${window.location.host}${window.location.pathname}${url}`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user