rename module

This commit is contained in:
watn3y 2023-12-29 00:25:33 +01:00
parent 257ed6f82b
commit d5272262da
11 changed files with 48 additions and 40 deletions

View file

@ -2,7 +2,7 @@ package webserver
import (
"net/http"
"watn3y/bloaterbotv3/config"
"watn3y/bloaterbot/config"
"github.com/rs/zerolog/log"
)
@ -13,7 +13,7 @@ func RunWeb() {
log.Info().Str("port", config.BotConfig.Webserver.Port).Str("path", "./videos").Msg("Starting webserver")
err := http.ListenAndServe(":" + config.BotConfig.Webserver.Port, nil)
err := http.ListenAndServe(":"+config.BotConfig.Webserver.Port, nil)
if err != nil {
log.Panic().Err(err).Msg("Failed to start webserver")