From a8b4b4f2ef6e12dbe239d940ce5926af0cff43e6 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 16 Nov 2022 13:16:38 +0100 Subject: [PATCH] Improve handling of app base To differenciate between which base assets should take, we need a `base` const in `router/index` that any function or component can consult so we don't get issues between relative and absolute paths. Signed-off-by: Sebastian Martinez --- src/Markdown.svelte | 14 ++++++++------ src/router/index.ts | 2 ++ src/utils.ts | 28 +++++++++++++++------------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/Markdown.svelte b/src/Markdown.svelte index e492040d0..522729147 100644 --- a/src/Markdown.svelte +++ b/src/Markdown.svelte @@ -1,8 +1,9 @@