Add static router & mod justfile

- default, run, build actions in justfile

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-19 16:33:43 +08:00
parent 55e7d3520a
commit e2345a8d4a
2 changed files with 13 additions and 3 deletions

View File

@@ -3,4 +3,5 @@ package server
import "github.com/gin-gonic/gin"
func Router(e *gin.Engine) {
e.Static("/", "./static")
}