Repository navigation
fix: add backend onboarding and safe switching - #46
Merged
Merged
Conversation
Closed
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.
Problem
The Apps2Samsung widget for StreamVault was built with a private build-machine backend URL (
http://10.1.0.200:3002). Users could enter Xtream credentials, but the widget could not reach a StreamVault backend and only reportedFailed to fetch.Changes
VITE_SERVER_URL/VITE_SERVER_IPsupport for controlled buildsSTREAMVAULT_AUTH_TOKENduring remote and same-origin onboardingThe broken Apps2Samsung package was separately retired in Apps2Samsung/tizen-community-packages#43.
Verification
npm audit --omit=devnpm test— 40 files, 212 testsnpm run lintnpm run typechecknpm run buildnpm run build:tizen5cd server && npm test— 29 files, 172 testscd server && npm run typecheckcd server && npm run audit:proddocker build -t streamvault:issue37-final .Risk
A successful switch to a different backend URL clears client-side favorites, recent items, and watch progress because channel identifiers are backend-specific. Reconnecting to the same backend preserves them.
Closes #37