-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add HTTPS support for Edge Functions in Netlify Dev (#4567)
* feat: add https support for Edge Functions * refactor: use `x-forwarded` headers * chore: update cert generation * refactor: change certs script * chore: fix cert generation on Windows * chore: fix cert generation on Windows * chore: fix cert generation on Windows * chore: omg * chore: move self generation to integration tests * chore: add cert generation to test:dev script * chore: update @netlify/edge-bundler to v1.0.0
- Loading branch information
1 parent
6695113
commit f51066e
Showing
11 changed files
with
175 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[dn] | ||
CN=localhost | ||
[req] | ||
distinguished_name = dn | ||
[EXT] | ||
subjectAltName=DNS:localhost | ||
keyUsage=digitalSignature | ||
extendedKeyUsage=serverAuth |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
module.exports = { | ||
ForwardedHost: 'x-forwarded-host', | ||
ForwardedProtocol: 'x-forwarded-proto', | ||
Functions: 'x-deno-functions', | ||
Geo: 'x-nf-geo', | ||
PassHost: 'X-NF-Pass-Host', | ||
Passthrough: 'x-deno-pass', | ||
RequestID: 'X-NF-Request-ID', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f51066e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📊 Benchmark results
Package size: 274 MB