Revert getProsodyDomain. Broken when not on localhot.

This commit is contained in:
John Livingston
2021-05-06 14:04:16 +02:00
parent 5650d6aed8
commit fec219a909
4 changed files with 14 additions and 8 deletions

View File

@ -115,7 +115,7 @@ function changeHttpBindRoute ({ peertubeHelpers }: RegisterServerOptions, port:
proxyReqPathResolver: async (_req: Request): Promise<string> => {
return '/http-bind' // should not be able to access anything else
},
preserveHostHdr: true,
// preserveHostHdr: true,
parseReqBody: true // Note that setting this to false overrides reqAsBuffer and reqBodyEncoding below.
// FIXME: should we remove cookies?
}