mirror of https://github.com/pixelfed/pixelfed
fix: add opt of forceScheme(https)
When running the application locally with APP_URL=http://localhost it is unexpected for all route URLs returned by `route('route-name')` to use the https prefix. Configuring SSL for your local environment should not be a required step to development locally. The new logic checks the configured URL for presence of https:// OR that this the application is running in a production environment.pull/3710/head
parent
7ef383d1f6
commit
d1dca5a1f1
Loading…
Reference in New Issue