diff --git a/main.go b/main.go index 87a1b41..3f59517 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,8 @@ import ( ) func main() { - utils.ClearTemporaryBans() + utils.EnsureFileExists("config.yml", "app/static/examples/config.example.yml") + utils.EnsureFileExists("relay_metadata.json", "app/static/examples/relay_metadata.example.json") restartChan := make(chan struct{}) go utils.WatchConfigFile("config.yml", restartChan) @@ -122,4 +123,4 @@ func ListenAndServe(w http.ResponseWriter, r *http.Request) { } else { routes.IndexHandler(w, r) } -} \ No newline at end of file +}