This commit is contained in:
ManeraKai 2023-07-23 22:40:48 +03:00
parent 5d75cb3874
commit b343878311
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 2 additions and 1 deletions

View File

@ -625,8 +625,9 @@ async function reverse(url) {
let protocolHost = utils.protocolHost(url)
for (const service in config.services) {
let frontend = options[service].frontend
console.log(protocolHost)
if (options[frontend] == undefined) continue
if (!options[frontend].includes(protocolHost)) continue
if (!options[frontend].includes(protocolHost) && protocolHost != `http://${frontend}.localhost:8080`) continue
switch (service) {
case "youtube":
case "imdb":