mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Remove X-Powered-By header (#2605)
This commit is contained in:
committed by
Wyatt Johnson
parent
0af2fec31b
commit
b3b26bd9f3
@@ -110,6 +110,8 @@ export const listenAndServe = (
|
||||
function configureApplication(options: AppOptions) {
|
||||
const { parent } = options;
|
||||
|
||||
parent.disable("x-powered-by");
|
||||
|
||||
// Trust the proxy in front of us, this will enable us to trust the fact that
|
||||
// SSL was terminated correctly.
|
||||
const trust = options.config.get("trust_proxy");
|
||||
|
||||
Reference in New Issue
Block a user