Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
a560b0c10b
  1. 2
      app.ts

2
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

Loading…
Cancel
Save