a lil oopsie

This commit is contained in:
2026-03-29 21:19:53 -05:00
parent cf155183f2
commit 0224d88313
9 changed files with 11 additions and 15 deletions

View File

@@ -904,11 +904,7 @@
const extensionServerItem = document.getElementById("extensionServerItem");
function getApiUrl(path) {
const isDeployed = window.location.protocol.startsWith("http");
if (isDeployed) return path;
const ip = localStorage.getItem("extension_server_ip");
if (!ip) { console.error("Extension IP not found."); return null; }
return `http://${ip}:7275${path}`;
return "";
}
async function initialize() {