mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: custom SQLite db file path
This commit is contained in:
@@ -14,6 +14,7 @@ type database struct {
|
||||
Host string
|
||||
Name string
|
||||
TablePrefix string
|
||||
DBFile string
|
||||
}
|
||||
|
||||
// system 系统通用配置
|
||||
|
||||
@@ -11,7 +11,8 @@ var RedisConfig = &redis{
|
||||
|
||||
// DatabaseConfig 数据库配置
|
||||
var DatabaseConfig = &database{
|
||||
Type: "UNSET",
|
||||
Type: "UNSET",
|
||||
DBFile: "cloudreve.db",
|
||||
}
|
||||
|
||||
// SystemConfig 系统公用配置
|
||||
|
||||
Reference in New Issue
Block a user