🍁 Updates location store
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
import { persistentStore } from '$lib/utilities';
|
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', '');
|
||||||
|
|||||||
Reference in New Issue
Block a user