I forgot to mount the thing

Signed-off-by: Arzumify <jliwin98@danwin1210.de>
This commit is contained in:
Tracker-Friendly 2024-10-15 18:46:04 +01:00
parent 673366f2c5
commit 518232d853
1 changed files with 1 additions and 0 deletions

View File

@ -606,6 +606,7 @@ func main() {
// Start the server
slog.Info("Starting server on " + config.Global.IP + ":" + config.Global.Port)
router.Mount("/", hostRouter)
err = http.ListenAndServe(config.Global.IP+":"+config.Global.Port, router)
if err != nil {
slog.Error("Error starting server: ", err)