Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fastapi & starlette; return https in external responses #134

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

ximenesuk
Copy link
Collaborator

This merge request updates two dependencies, pinning fastapi to 0.110.0 and starlette to 0.36.3.

It also ensures responses contain https: in the self field is in the environment AGS_API_ENV is set to 'PRODUCTION'. If the variable is missing or set to any other value the response will contain http:

@volcan01010
Copy link
Collaborator

This worked after I'd spelled AGS_PAI_ENV correctly...

@volcan01010 volcan01010 merged commit ef28b3b into main Mar 8, 2024
1 check passed
@volcan01010 volcan01010 deleted the self-https branch March 8, 2024 15:27
@KoalaGeo KoalaGeo restored the self-https branch March 19, 2024 12:30
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.

Using http instead of https for download Upgrade Starlette to v0.27
2 participants