mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-09 22:32:31 +00:00
chore: removed unnecessary subdomain check for mothership middleware
This commit is contained in:
parent
9ccd79c6d8
commit
5cb81bb458
@ -14,9 +14,7 @@ export const centralDbService = mkSingleton(
|
||||
['/api(/*)', '/_(/*)', '/'],
|
||||
(req, res, meta, logger) => {
|
||||
const { dbg } = logger
|
||||
const { subdomain, coreInternalUrl, proxy } = meta
|
||||
|
||||
if (subdomain !== PUBLIC_APP_DB) return
|
||||
const { coreInternalUrl, proxy } = meta
|
||||
|
||||
const target = coreInternalUrl
|
||||
dbg(
|
||||
|
Loading…
x
Reference in New Issue
Block a user