|
@@ -111,6 +111,7 @@ export namespace Server {
|
|
|
|
|
|
|
|
if (input.startsWith("http://localhost:")) return input
|
|
if (input.startsWith("http://localhost:")) return input
|
|
|
if (input.startsWith("http://127.0.0.1:")) return input
|
|
if (input.startsWith("http://127.0.0.1:")) return input
|
|
|
|
|
+ if (input === "tauri://localhost") return input
|
|
|
|
|
|
|
|
// *.opencode.ai (https only, adjust if needed)
|
|
// *.opencode.ai (https only, adjust if needed)
|
|
|
if (/^https:\/\/([a-z0-9-]+\.)*opencode\.ai$/.test(input)) {
|
|
if (/^https:\/\/([a-z0-9-]+\.)*opencode\.ai$/.test(input)) {
|