Skip to content

Add fallback instance URLs#659

Open
chrisbrummel wants to merge 1 commit into
ruddarr:developfrom
chrisbrummel:pr-fallback-url
Open

Add fallback instance URLs#659
chrisbrummel wants to merge 1 commit into
ruddarr:developfrom
chrisbrummel:pr-fallback-url

Conversation

@chrisbrummel
Copy link
Copy Markdown

Summary

  • Adds a Fallback URL field below the preferred instance URL in Settings.
  • Retries API requests through the fallback URL when the preferred URL is unreachable.
  • Keeps fallback routing runtime-only so the saved preferred and fallback URL fields are not rewritten automatically.
  • Sanitizes and validates preferred/fallback URLs separately.

Testing

  • Built successfully with xcodebuild.
  • Verified the new Settings field in the simulator.

Add a fallback URL field to instance settings and show it in instance details.

Route API requests through a runtime resolver that retries unreachable preferred URLs against the fallback URL without changing the saved URL fields.

Sanitize and validate preferred/fallback URLs separately, and refresh the active instance after saving edited settings.
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.

1 participant