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)
|
let protocolHost = utils.protocolHost(url)
|
||||||
for (const service in config.services) {
|
for (const service in config.services) {
|
||||||
let frontend = options[service].frontend
|
let frontend = options[service].frontend
|
||||||
|
console.log(protocolHost)
|
||||||
if (options[frontend] == undefined) continue
|
if (options[frontend] == undefined) continue
|
||||||
if (!options[frontend].includes(protocolHost)) continue
|
if (!options[frontend].includes(protocolHost) && protocolHost != `http://${frontend}.localhost:8080`) continue
|
||||||
switch (service) {
|
switch (service) {
|
||||||
case "youtube":
|
case "youtube":
|
||||||
case "imdb":
|
case "imdb":
|
||||||
|
|
Loading…
Reference in New Issue