Skip to content

Set the prod backend URL in builds and warned on insecure custom backends#418

Merged
PianoNic merged 1 commit into
mainfrom
fix/414_WarnInsecureBackend
Jun 25, 2026
Merged

Set the prod backend URL in builds and warned on insecure custom backends#418
PianoNic merged 1 commit into
mainfrom
fix/414_WarnInsecureBackend

Conversation

@PianoNic

Copy link
Copy Markdown
Member
  • The release workflow and prod build scripts now pass --dart-define=BACKEND_BASE_URL (defaulting to https://api.schuly.dev via an optional BACKEND_BASE_URL repo variable); previously the published prod app fell back to the http://localhost build default.
  • The server dialog (settings + onboarding) now warns when a custom backend uses plaintext http:// for a non-loopback host.

Closes #414

@PianoNic PianoNic added the bug Something isn't working label Jun 25, 2026
@PianoNic
PianoNic merged commit bab72f1 into main Jun 25, 2026
@PianoNic
PianoNic deleted the fix/414_WarnInsecureBackend branch June 25, 2026 07:33
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.

Default backend URL is plaintext HTTP and custom http backends are not warned

1 participant