🍁 Updates location store

This commit is contained in:
Rune Harlyk
2024-08-24 20:59:54 +02:00
committed by Rune Harlyk
parent a63b6b3633
commit cd3ad93196
+3 -1
View File
@@ -1,3 +1,5 @@
import { persistentStore } from '$lib/utilities';
import { writable } from 'svelte/store';
import appEnv from 'app-env';
export const location = persistentStore('location', '/');
export const location = appEnv.VITE_USE_HOST_NAME ? writable('') : persistentStore('location', '');