Keep client secrets in add-on storage; host only verifies and serves the local API.
This commit is contained in:
+2
-2
@@ -5,9 +5,9 @@ const manage = document.getElementById("manage");
|
||||
|
||||
browser.runtime.sendMessage({ type: "status" }).then((info) => {
|
||||
if (info && info.hostUp) {
|
||||
statusEl.textContent = `Host connected on 127.0.0.1:${info.port}`;
|
||||
statusEl.textContent = "Local script access is on.";
|
||||
} else {
|
||||
statusEl.textContent = "Native host is not connected. Is it installed?";
|
||||
statusEl.textContent = "You can still issue secrets. Local script access needs the native host.";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user