move OpenAPI config to App component rather than Login
This commit is contained in:
parent
0c7bc07d67
commit
b107f5de95
@ -47,6 +47,8 @@
|
||||
import TracksOverview from "./components/TracksOverview.svelte";
|
||||
import OrgDetail from "./components/OrgDetail.svelte";
|
||||
import Teams from "./components/Teams.svelte";
|
||||
import { OpenAPI, AuthService } from "@odit/lfk-client-js";
|
||||
OpenAPI.BASE = config.baseurl;
|
||||
store.init();
|
||||
|
||||
if ("serviceWorker" in navigator) {
|
||||
|
@ -4,7 +4,6 @@
|
||||
import { _ } from "svelte-i18n";
|
||||
store.init();
|
||||
import { OpenAPI, AuthService } from "@odit/lfk-client-js";
|
||||
OpenAPI.BASE = config.baseurl;
|
||||
import Toastify from "toastify-js";
|
||||
// ------
|
||||
let username = "demo";
|
||||
|
Loading…
x
Reference in New Issue
Block a user