fix(wiki): proxy topology through public gateway

Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
2026-07-15 10:53:18 +08:00
co-authored by OpenAI Codex
parent e3b3a16b10
commit 8d057dbfa3
9 changed files with 81 additions and 5 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ class TopologyApiServingTests(unittest.TestCase):
def test_page_uses_same_origin_api(self) -> None:
html = HTML_PATH.read_text(encoding="utf-8")
self.assertNotIn("http://localhost:5000", html)
self.assertIn("const API_BASE = ''", html)
self.assertIn("new URL('.', window.location.href).pathname", html)
self.assertIn("replace(/\\/$/, '')", html)
def test_config_has_no_default_password(self) -> None:
source = CONFIG_PATH.read_text(encoding="utf-8")