We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c796fb4 commit 783599bCopy full SHA for 783599b
packages/frameworks-express/src/index.ts
@@ -22,7 +22,8 @@
22
* const app = express()
23
*
24
* // If app is served through a proxy, trust the proxy to allow HTTPS protocol to be detected
25
- * app.use('trust proxy')
+ * // https://expressjs.com/en/guide/behind-proxies.html
26
+ * app.set('trust proxy', true)
27
* app.use("/auth/*", ExpressAuth({ providers: [ GitHub ] }))
28
* ```
29
0 commit comments