mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: CORS / Test: site/config route
This commit is contained in:
@@ -45,7 +45,7 @@ func Init() {
|
||||
return conf.DatabaseConfig.TablePrefix + defaultTableName
|
||||
}
|
||||
|
||||
// Debug 模式下,输出所有 SQL 日志
|
||||
// Debug模式下,输出所有 SQL 日志
|
||||
if conf.SystemConfig.Debug {
|
||||
db.LogMode(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user