Fix SPA fallback API interception and align docs/runtime metadata#1
Open
DevvGwardo wants to merge 1 commit into
Open
Fix SPA fallback API interception and align docs/runtime metadata#1DevvGwardo wants to merge 1 commit into
DevvGwardo wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a critical backend routing issue and aligns a few project inconsistencies discovered during analysis.
Changes
Fix SPA fallback behavior in
server/server.jsapp.get('*', ...)to callnext()for API and WS paths instead of silently swallowing requests./upload,/me) to bypass checks.Align server startup metadata
v1.0.0tov2.0.0./apito root path (http://localhost:<PORT>), matching actual route mounts.Align frontend upload picker with backend allowlist
acceptinfrontend/src/components/MessageInput.jsxto include supported media/document types (video/*,audio/*,.pdf,.txt,.md,.json,.js).Align README Node requirement with package engines
20+to18+to match rootpackage.jsonengines.Validation
npm run install:all --silent && npm run build --silent✅npm test --silentreports no test files (existing repo state).Notes
Original requested repository (
MisterGuy420/clawchat-dev) was not accessible (404), so this PR targets the closest accessible repository:MisterGuy420/clawchat.