Implement --host flag to override {{.Host}} #29

Manually merged
electricdusk merged 1 commits from dsprenkels/host into master 2019-12-16 05:22:42 +01:00

View File

@ -87,6 +87,8 @@ func StartMainServer(addr string, db *db.Database, fs *db.FileStore, rawhost *st
if err != nil {
log.Fatalln(errors.Wrap(err, "could not parse host flag"))
}
} else {
log.Println("warning: the --host flag will be required in the future")
}
rl := rushlink{
db: db,