mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
refactor: use settings.GIT_MIRROR instead of os.getenv in worker_views
This commit is contained in:
@@ -399,5 +399,5 @@ class WorkerNodeViewSet(viewsets.ModelViewSet):
|
||||
},
|
||||
'debug': settings.DEBUG,
|
||||
# Git 加速配置(用于 Git clone 加速,如 Nuclei 模板仓库)
|
||||
'gitMirror': os.getenv('GIT_MIRROR', ''),
|
||||
'gitMirror': settings.GIT_MIRROR,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user