Skip to content

Commit 4e57697

Browse files
committed
🎨补充环境变量
1 parent bbd143d commit 4e57697

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

server/projects/main/codedog/settings/open_env.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
# Debug模式
2323
DEBUG = True if os.environ.get("MAIN_DEBUG_MODE") == "true" else False
2424

25+
# 代码库默认使用https
26+
HTTPS_CLONE_FLAG = True if os.environ.get("HTTPS_CLONE_FLAG") == "true" else False
27+
2528
ALLOWED_HOSTS = ["*"]
2629

2730
# 管理员列表

0 commit comments

Comments
 (0)