diff --git a/.env.dev b/.env.dev index 1fc68d05..00d51e29 100644 --- a/.env.dev +++ b/.env.dev @@ -13,4 +13,4 @@ SESSION_EXPIRE_TIMEOUT=30 DEBUG=False # 服务器和端口 HOST = 127.0.0.1 -PORT = 8090 +PORT = 8080 diff --git a/.gitignore b/.gitignore index f1558d7e..bca28216 100644 --- a/.gitignore +++ b/.gitignore @@ -8,12 +8,6 @@ __pycache__/ *.so # Distribution / packaging -.vscode -data -resources -configs -.env.dev -*.env.dev .Python build/ develop-eggs/ diff --git a/configs/config.py b/configs/config.py index e2502b3a..70ff7a1e 100644 --- a/configs/config.py +++ b/configs/config.py @@ -11,14 +11,14 @@ NICKNAME: str = "小真寻" # 示例:"bind": "postgresql://user:password@127.0.0.1:5432/database" bind: str = "" # 数据库连接链接 sql_name: str = "postgresql" -user: str = "uname" # 数据用户名 -password: str = "zhenxun" # 数据库密码 -address: str = "127.0.0.1" # 数据库地址 -port: str = "5432" # 数据库端口 -database: str = "postgres" # 数据库名称 +user: str = "" # 数据用户名 +password: str = "" # 数据库密码 +address: str = "" # 数据库地址 +port: str = "" # 数据库端口 +database: str = "" # 数据库名称 # 代理,例如 "http://127.0.0.1:7890" -SYSTEM_PROXY: Optional[str] = "http://127.0.0.1:7890" # 全局代理 +SYSTEM_PROXY: Optional[str] = None # 全局代理 Config = ConfigsManager(Path() / "data" / "configs" / "plugins2config.yaml")