Skip to content

Comments

Fixed failure to refresh on pages with multi-level URL paths#67

Merged
tieneupin merged 1 commit intomainfrom
fix-page-refresh
Feb 23, 2026
Merged

Fixed failure to refresh on pages with multi-level URL paths#67
tieneupin merged 1 commit intomainfrom
fix-page-refresh

Conversation

@tieneupin
Copy link
Collaborator

It was previously not possible to refresh any page with a multi-level URL path (e.g. "{our_domain}/sessions/{session_id} from the browser. We have since been able to establish that this is due to Vite rendering URLs relatively. Setting <base href="/" /> in the index.html file appears to have fixed this issue by setting all URL paths to be relative to the root.

…base path in the 'index.html' file for all relative paths to refer to
@tieneupin tieneupin requested a review from d-j-hatton January 16, 2026 19:10
@tieneupin tieneupin self-assigned this Jan 16, 2026
@tieneupin tieneupin added the bug Something isn't working label Jan 16, 2026
@tieneupin tieneupin merged commit 43e4b64 into main Feb 23, 2026
@tieneupin tieneupin deleted the fix-page-refresh branch February 23, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants