Change default database name to writefreely
(not writeas)
This commit is contained in:
parent
f3df2b4159
commit
b9d7d4ce24
2
app.go
2
app.go
|
@ -357,7 +357,7 @@ func Serve() {
|
||||||
app.cfg.Database.Host = "localhost"
|
app.cfg.Database.Host = "localhost"
|
||||||
}
|
}
|
||||||
if app.cfg.Database.Database == "" {
|
if app.cfg.Database.Database == "" {
|
||||||
app.cfg.Database.Database = "writeas"
|
app.cfg.Database.Database = "writefreely"
|
||||||
}
|
}
|
||||||
|
|
||||||
connectToDatabase(app)
|
connectToDatabase(app)
|
||||||
|
|
Loading…
Reference in New Issue