diff options
| author | Fuwn <[email protected]> | 2024-02-07 23:57:13 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-07 23:57:13 -0800 |
| commit | a4fdd8c757c56af521257fcee3b991cd0b220dd2 (patch) | |
| tree | 7ce56f24b58b83a386ff6abb4d73b09c4f146d9b /src/routes | |
| parent | fix(badges): categories when none exist (diff) | |
| download | due.moe-a4fdd8c757c56af521257fcee3b991cd0b220dd2.tar.xz due.moe-a4fdd8c757c56af521257fcee3b991cd0b220dd2.zip | |
refactor(data): move static data to module
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 2 | ||||
| -rw-r--r-- | src/routes/user/[user]/+page.svelte | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4665173f..e6b2177e 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -22,7 +22,7 @@ import subsPlease from '$stores/subsPlease'; import Dropdown from '$lib/Dropdown.svelte'; import { injectSpeedInsights } from '@vercel/speed-insights/sveltekit'; - import subtitles from '$lib/Data/subtitles.json'; + import subtitles from '$lib/Data/Static/subtitles.json'; injectSpeedInsights(); diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte index c743cf4b..cd2d367b 100644 --- a/src/routes/user/[user]/+page.svelte +++ b/src/routes/user/[user]/+page.svelte @@ -7,7 +7,7 @@ import root from '$lib/Utility/root.js'; import locale from '$stores/locale.js'; import { onMount } from 'svelte'; - import authorisedUsers from '$lib/Data/authorised.json'; + import authorisedUsers from '$lib/Data/Static/authorised.json'; import tooltip from '$lib/Tooltip/tooltip.js'; import AnimeRateLimited from '$lib/Error/AnimeRateLimited.svelte'; |