Skip to content
Snippets Groups Projects
Commit 60aab91d authored by Leah Tacke genannt Unterberg's avatar Leah Tacke genannt Unterberg
Browse files

fixed backend api url cfg

parent 80396a47
Branches
No related tags found
No related merge requests found
Pipeline #481955 passed
...@@ -79,7 +79,7 @@ export namespace Transforms { ...@@ -79,7 +79,7 @@ export namespace Transforms {
} }
const backendUrl = (process.env.VITE_API_HOST ?? (window.location.protocol + window.location.host)) + (process.env.VITE_API_PREFIX ?? '/api') // process.env.API_URL ?? 'http://localhost:8080' // import.meta.env?.VITE_API_URL || const backendUrl = (process.env.VITE_API_HOST ?? window.location.origin) + (process.env.VITE_API_PREFIX ?? '/api') // process.env.API_URL ?? 'http://localhost:8080' // import.meta.env?.VITE_API_URL ||
console.log(`Using following (backend) API_URL: ${backendUrl}`) console.log(`Using following (backend) API_URL: ${backendUrl}`)
// const f = jsYaml.loadAll('./api-schema/openapi.yaml') // const f = jsYaml.loadAll('./api-schema/openapi.yaml')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment