fix(database): fix sqlite init error in smb workspace
fix(postLog/database): change journal mode from WAL to DELETE
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ func LoadConfig(configPath string) (*Config, error) {
|
||||
cfg.DataPath = "./data"
|
||||
}
|
||||
if cfg.DBPath == "" {
|
||||
cfg.DBPath = "./logs.db"
|
||||
cfg.DBPath = "./db"
|
||||
}
|
||||
|
||||
// Apply default message templates if not specified.
|
||||
|
||||
Reference in New Issue
Block a user