diff --git a/frontend/src/config.ts b/frontend/src/config.ts index fe72f8c..9a06b51 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -1,5 +1,6 @@ import configClient from "../../api/hooks/config-client" export const apiBaseURL = "/api/" +export const baseURL = "https://www.fontis.de" export const release = configClient.release console.log("Release: ", release) diff --git a/frontend/src/lib/components/Pagebuilder/Rows.svelte b/frontend/src/lib/components/Pagebuilder/Rows.svelte index 120c3ab..bbd30c2 100644 --- a/frontend/src/lib/components/Pagebuilder/Rows.svelte +++ b/frontend/src/lib/components/Pagebuilder/Rows.svelte @@ -2,7 +2,7 @@ import { mediaLibrary, pages, scrollToRowNr, team } from "../../store" import Homepage from "./Homepage.svelte" import Pagebuilder from "./Pagebuilder.svelte" - import { apiBaseURL } from "../../../config" + import { apiBaseURL, baseURL } from "../../../config" import { onMount } from "svelte" export let path: string @@ -71,6 +71,7 @@ {#if page?.active === false} {/if} + {/key}