修改
This commit is contained in:
1 parent
0c740f5a53
commit
a1867fd03e
5 files changed
+26
-12
No files matched your search
+1
-1
@@ -1029,7 +1029,7 @@ def _before():
|
||||
|
||||
def main() -> None:
|
||||
db.init_db()
|
||||
host = os.environ.get("CODEX_MAINTAIN_HOST", "127.0.0.1")
|
||||
host = os.environ.get("CODEX_MAINTAIN_HOST", "0.0.0.0")
|
||||
port = int(os.environ.get("CODEX_MAINTAIN_PORT", "8765"))
|
||||
print(
|
||||
f"Codex 维护台 http://{host}:{port} "
|
||||
|
||||
Reference in new issue
Block a user