Skip to content

Fix double slash in URLs from trailing-slash base path#3

Merged
bmingles merged 1 commit into
mainfrom
claude/food-tracking-feature-hv6bij
Jun 27, 2026
Merged

Fix double slash in URLs from trailing-slash base path#3
bmingles merged 1 commit into
mainfrom
claude/food-tracking-feature-hv6bij

Conversation

@bmingles

Copy link
Copy Markdown
Member

import.meta.env.BASE_URL includes a trailing slash (e.g. "/tag-notes/"), and Solid Router concatenates base + path directly, producing URLs like "/tag-notes//food". Strip the trailing slash before passing it as the router base.

Claude-Session: https://claude.ai/code/session_01K3Q361t53QdxgaV8nHSayT

import.meta.env.BASE_URL includes a trailing slash (e.g. "/tag-notes/"),
and Solid Router concatenates base + path directly, producing URLs like
"/tag-notes//food". Strip the trailing slash before passing it as the
router base.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3Q361t53QdxgaV8nHSayT
@bmingles bmingles merged commit f11bb80 into main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants