aboutsummaryrefslogtreecommitdiff
path: root/routes/+layout.svelte
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-04-22 14:32:03 +0530
committerBobby <[email protected]>2026-04-22 14:32:03 +0530
commitbbe9d34700995ba1644d726743dbb61144052bd1 (patch)
treebee0455edb7023d08b348022672ec2c294f2579c /routes/+layout.svelte
parent87f4e51a2804d0788c8cd1fcde56923d19d0e06c (diff)
downloadhollowdark-main.tar.xz
hollowdark-main.zip
Load the content manifest and cache every chunk to IndexedDB on initial loadHEADmain
Diffstat (limited to 'routes/+layout.svelte')
-rw-r--r--routes/+layout.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/+layout.svelte b/routes/+layout.svelte
index 0cf4c43..0d84d4d 100644
--- a/routes/+layout.svelte
+++ b/routes/+layout.svelte
@@ -1,12 +1,12 @@
<script lang="ts">
- import { base } from '$app/paths'
+ import { assets } from '$app/paths'
import AudioPlayer from '@hollowdark/lib/audio/AudioPlayer.svelte'
import { highContrast, reduceMotion } from '@hollowdark/lib/accessibility/state'
import { textSize, type TextSize } from '@hollowdark/lib/reading/state'
let { children } = $props()
- const titleTrackSrc = `${base}/audio/title/piano-relaxing.mp3`
+ const titleTrackSrc = `${assets}/audio/title/piano-relaxing.mp3`
const ALL_TEXT_SIZE_CLASSES: readonly string[] = [
'text-size-small',