refactor: Modify default webserver port to 5670 (#1410)

This commit is contained in:
Fangyin Cheng
2024-04-12 11:47:24 +08:00
committed by GitHub
parent aea575e0b4
commit c3ae1915d2
26 changed files with 58 additions and 62 deletions

View File

@@ -26,7 +26,7 @@ class Config(metaclass=Singleton):
# Gradio language version: en, zh
self.LANGUAGE = os.getenv("LANGUAGE", "en")
self.WEB_SERVER_PORT = int(os.getenv("WEB_SERVER_PORT", 5000))
self.DBGPT_WEBSERVER_PORT = int(os.getenv("DBGPT_WEBSERVER_PORT", 5670))
self.debug_mode = False
self.skip_reprompt = False