Skip to content

Conversation

@cuevaio
Copy link

@cuevaio cuevaio commented Dec 26, 2025

Summary

  • Fix share URL protocol detection for local development - when running without a reverse proxy, the URL now correctly uses http:// instead of always defaulting to https://

Fixes #6205

When running locally without a reverse proxy, the x-forwarded-proto header
is not present. Instead of defaulting to https, extract the protocol from
the actual request URL.

Fixes sst#6205
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.

Share URL always uses https:// protocol even for local development

1 participant