Use viper instead of the clusterfuck of json i was trying to use.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
1
main.go
1
main.go
@@ -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() + "!")
|
||||
|
Reference in New Issue
Block a user