I forgot to mount the thing
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
This commit is contained in:
parent
673366f2c5
commit
518232d853
1
main.go
1
main.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue