fix(wiki): proxy topology through public gateway
Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user