Skip to content

Commit

Permalink
feat: 全局配置title/footer/logo/favicon/产品名称可修改 (closed #343)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyalt committed Jul 15, 2024
1 parent f095232 commit cde0494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ def mysetting(request):
"CMDB_URL": settings.BK_CC_HOST,
"TAM_AEGIS_KEY": settings.TAM_AEGIS_KEY,
"TAM_AEGIS_URL": settings.TAM_AEGIS_URL,
"BKPAAS_SHARED_RES_URL": settings.BKPAAS_SHARED_RES_URL,
}
3 changes: 3 additions & 0 deletions config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@
TAM_AEGIS_KEY = os.getenv("BKAPP_TAM_AEGIS_KEY")
TAM_AEGIS_URL = os.getenv("BKAPP_TAM_AEGIS_URL")

# 平台公共信息
BKPAAS_SHARED_RES_URL = os.getenv("BKPAAS_SHARED_RES_URL", "")

# ==============================================================================
# Cache
# ==============================================================================
Expand Down

0 comments on commit cde0494

Please sign in to comment.