This commit is contained in:
Sakurasan committed 2025-04-17 02:17:19 +08:00
1 parent d4cbc27a77
commit b0d68ba338
7 files changed
+55 -35

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ func main() {
r.GET("/assets/*filepath", gin.WrapH(http.StripPrefix("/assets/", http.FileServer(http.FS(assetsFS)))))
srv := &http.Server{
Addr: ":8080",
Addr: fmt.Sprintf(":%d", cfg.Port),
Handler: r,
}