aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-10-21 10:10:09 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-10-21 10:10:46 -0500
commit357eb71431476002363f3c1137b0437b3b99e9a3 (patch)
tree01ccd6256144b190cdc441b0c14170659e96947b /app
parentBump @types/wicg-file-system-access from 2023.10.1 to 2023.10.2 (diff)
downloadtrinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar.gz
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar.bz2
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar.lz
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar.xz
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.tar.zst
trinkets-357eb71431476002363f3c1137b0437b3b99e9a3.zip
add start URL
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app')
-rw-r--r--app/src/lib/components/Navigation.svelte2
-rw-r--r--app/vite.config.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/lib/components/Navigation.svelte b/app/src/lib/components/Navigation.svelte
index c895cbb..084782a 100644
--- a/app/src/lib/components/Navigation.svelte
+++ b/app/src/lib/components/Navigation.svelte
@@ -35,7 +35,7 @@
</svelte:fragment>
<AppRailAnchor
href="{base}/"
- selected={$page.url.pathname === base + '/'}
+ selected={$page.url.pathname === base}
on:click={drawerClose}
title="Homepage"
>
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 71207d5..e1a8ebe 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -38,6 +38,7 @@ export default defineConfig({
},
],
id: 'random-dumping-ground',
+ start_url: '.',
theme_color: '#000000',
},
registerType: 'prompt',