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
@@ -37,7 +37,8 @@ class GuanghanTopologySourceTests(unittest.TestCase):
self.assertNotIn("未来西部十字结构", self.html)
def test_page_uses_same_origin_api(self) -> None:
self.assertIn("const API_BASE = ''", self.html)
self.assertIn("new URL('.', window.location.href).pathname", self.html)
self.assertIn("replace(/\\/$/, '')", self.html)
self.assertNotIn("http://localhost:5000", self.html)
def test_page_uses_database_presentation_payload(self) -> None: