fix
This commit is contained in:
@@ -160,6 +160,10 @@ MDEDITOR_CONFIGS = {
|
||||
|
||||
X_FRAME_OPTIONS = 'SAMEORIGIN'
|
||||
|
||||
# 确保日志目录存在
|
||||
_log_dir = DATA_DIR / 'logs'
|
||||
_log_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
LOGGING = {
|
||||
'version': 1,
|
||||
'disable_existing_loggers': False,
|
||||
|
||||
Reference in New Issue
Block a user