Added localhost to Redirect To Original https://github.com/libredirect/browser_extension/issues/766
This commit is contained in:
parent
5d75cb3874
commit
b343878311
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue