-
Notifications
You must be signed in to change notification settings - Fork 365
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
fix: show proper req.url
in HTTPS mode
#5968
Changes from 6 commits
090d94c
58b40b3
d528543
dfa73c9
18fe0a1
3c9a98c
bb5f238
a60764c
f57689e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { env } from 'process' | ||
|
||
const latestBootstrapURL = 'https://64e7783fce8cfe0008496c72--edge.netlify.com/bootstrap/index-combined.ts' | ||
const latestBootstrapURL = 'https://deploy-preview-294--edge.netlify.app/bootstrap/index-combined.ts' | ||
|
||
export const getBootstrapURL = () => env.NETLIFY_EDGE_BOOTSTRAP || latestBootstrapURL |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,13 @@ export const headers = { | |
DeployID: 'x-nf-deploy-id', | ||
FeatureFlags: 'x-nf-feature-flags', | ||
ForwardedHost: 'x-forwarded-host', | ||
ForwardedProtocol: 'x-forwarded-proto', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this one still needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're still using |
||
Functions: 'x-nf-edge-functions', | ||
InvocationMetadata: 'x-nf-edge-functions-metadata', | ||
Geo: 'x-nf-geo', | ||
Passthrough: 'x-nf-passthrough', | ||
PassthroughHost: 'x-nf-passthrough-host', | ||
PassthroughProtocol: 'x-nf-passthrough-proto', | ||
IP: 'x-nf-client-connection-ip', | ||
Site: 'X-NF-Site-Info', | ||
DebugLogging: 'x-nf-debug-logging', | ||
|
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.
Let's not forget to change this before merging.
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.
done in bb5f238