@@ -47,6 +47,10 @@ var wsUpgrader = websocket.Upgrader{
funcmain(){
r:=gin.Default()
r.NoRoute(func(c*gin.Context){
c.File("./web/build/index.html")
})
group:=r.Group("/")
group.StaticFile("/","./web/build/index.html")
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.