From a560b0c10b641dc16302de3e45887bfe0ec1eb33 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 2 Apr 2020 10:43:21 -0700 Subject: [PATCH] fix --- app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.ts b/app.ts index c9e1d82..cca08d5 100644 --- a/app.ts +++ b/app.ts @@ -97,7 +97,7 @@ async function authModule(req, res, next) { if (process.env.HOSTING_PROVIDER==='true'){ const domain = process.env.INVITE_SERVER const host = req.headers.host - console.log('=> host:', origin) + console.log('=> host:', host) if (domain===host && req.path === '/invoices') { next() return