mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 07:10:09 +01:00
Update
This commit is contained in:
parent
4f648aff52
commit
bd7139827b
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){
|
||||
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
|
||||
: `${window.location.protocol}//${window.location.host}${window.location.pathname}${url}`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user