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

scheme arg to create the redirect should be 'https' #2712

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

mbendiksen
Copy link
Contributor

Since this example is trying to redirect HTTP requests to the HTTPS server, the scheme should be 'https.'

Since this example is trying to redirect HTTP requests to the HTTPS server, the scheme should be 'https.' I haven't tried running the example by itself, but I'm surprised it works as it is. Perhaps it is because of https.config.SERVER_NAME, but I wouldn't expect that since it doesn't include the scheme (but does include the port).
@mbendiksen mbendiksen requested a review from a team as a code owner March 16, 2023 03:46
@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@5a0ed75). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #2712   +/-   ##
========================================
  Coverage        ?   88.543%           
========================================
  Files           ?        87           
  Lines           ?      6817           
  Branches        ?      1172           
========================================
  Hits            ?      6036           
  Misses          ?       537           
  Partials        ?       244           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ahopkins ahopkins merged commit 08a81c8 into sanic-org:main Mar 16, 2023
@mbendiksen mbendiksen deleted the patch-1 branch March 16, 2023 15:40
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.

3 participants