We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1acf899 commit 2a6c67eCopy full SHA for 2a6c67e
add-on/src/lib/http-proxy.js
@@ -32,7 +32,8 @@ log.error = debug('ipfs-companion:http-proxy:error')
32
// https://bugzilla.mozilla.org/show_bug.cgi?id=1220810
33
async function registerSubdomainProxy (getState, runtime, notify) {
34
try {
35
- const { useSubdomainProxy: enable, gwURLString } = getState()
+ const { active, useSubdomainProxy, gwURLString } = getState()
36
+ const enable = active && useSubdomainProxy
37
38
// HTTP Proxy feature is exposed on the gateway port
39
// Just ensure we use localhost IP to remove any dependency on DNS
0 commit comments