fix bugs
This commit is contained in:
1 parent
d4cbc27a77
commit
b0d68ba338
7 files changed
+55
-35
No files matched your search
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user