SkynetLabs / webportal-nginx

MIT License
1 stars 2 forks source link

Modify DNSLink behavior to quickly return for any *.skynet URLs #29

Open kwypchlo opened 2 years ago

kwypchlo commented 2 years ago

Currently, the extension pages still show as loading in the browser while it waits for the return from DNSLink. We should quickly return and not wait to avoid 4seconds of waiting (probably a 200 with a message saying this is reserved or that your extension isn't configured correctly).

pcfreak30 commented 2 years ago

I am sort of doing this already for lume, and I plan on lume relays to handle this role which is a dummy node server that returns a status code defined in the request header. This thus solves the status code limitations firefox has in its webRequest API.