Change default database name to writefreely

(not writeas)
This commit is contained in:
Matt Baer 2018-11-21 13:36:00 -05:00
parent f3df2b4159
commit b9d7d4ce24
1 changed files with 1 additions and 1 deletions

2
app.go
View File

@ -357,7 +357,7 @@ func Serve() {
app.cfg.Database.Host = "localhost"
}
if app.cfg.Database.Database == "" {
app.cfg.Database.Database = "writeas"
app.cfg.Database.Database = "writefreely"
}
connectToDatabase(app)