From 86d8720c0099606cd5578e8c7536966555802eea Mon Sep 17 00:00:00 2001 From: robin Date: Sun, 19 Nov 2023 18:04:16 +0000 Subject: [PATCH] canoncial --- frontend/src/config.ts | 1 + frontend/src/lib/components/Pagebuilder/Rows.svelte | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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}