Skip to content

Commit 8ce6250

Browse files
fix(web): add trailing slash to base path — fixes broken navigation URLs
All internal links were missing a / between the base path and route: /us-code-trackerbrowse/ instead of /us-code-tracker/browse/ Root cause: astro.config.mjs base was '/us-code-tracker' (no trailing slash). Astro's BASE_URL concatenated without separator. Fix: base: '/us-code-tracker/' (with trailing slash) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d1cc1cc commit 8ce6250

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export default defineConfig({
66
integrations: [svelte()],
77
vite: { plugins: [tailwindcss()] },
88
site: 'https://civic-source.github.io',
9-
base: '/us-code-tracker',
9+
base: '/us-code-tracker/',
1010
});

0 commit comments

Comments
 (0)