mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 18:57:42 +02:00
Fix payment server config (#10607)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -76,6 +76,7 @@ const handleRequest = async (
|
||||
|
||||
export async function createServer (ctx: MeasureContext, config: Config): Promise<{ app: Express, close: () => void }> {
|
||||
const app = express()
|
||||
app.set('trust proxy', true)
|
||||
app.use(cors())
|
||||
|
||||
const childLogger = ctx.logger.childLogger?.('requests', { enableConsole: 'true' })
|
||||
|
||||
Reference in New Issue
Block a user