mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-23 22:15:49 +00:00
refactor(instanceService): remove CNAME block check for improved instance handling
This commit is contained in:
parent
263700495f
commit
60eeb5cb05
@ -254,9 +254,6 @@ export const instanceService = mkSingleton(async (config: InstanceServiceConfig)
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (instance) {
|
if (instance) {
|
||||||
if (!instance.cname_active) {
|
|
||||||
throw new Error(`CNAME blocked.`)
|
|
||||||
}
|
|
||||||
dbg(`${host} is a cname`)
|
dbg(`${host} is a cname`)
|
||||||
cache.setItem(instance)
|
cache.setItem(instance)
|
||||||
return instance
|
return instance
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user