Use viper instead of the clusterfuck of json i was trying to use.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2022-09-17 22:33:44 +01:00
parent 41209f3ee3
commit e614ab79fa
4 changed files with 7 additions and 121 deletions

View File

@@ -46,7 +46,6 @@ func main() {
http.HandleFunc("/announcements", func(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "static/announcements.html")
})
api.Settings()
api.FormCheck()
api.CheckAnn()
log.Println("[HTTP] HTTP server is now running at " + config.Port() + "!")