From 8e79ffe0cccd163b3207d31f6093864b2141e5cf Mon Sep 17 00:00:00 2001 From: veradec Date: Thu, 12 Nov 2026 10:50:25 +0530 Subject: add: html quality of life --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 3a72a89..f230517 100644 --- a/main.go +++ b/main.go @@ -54,6 +54,8 @@ func main(){ files := http.FileServer(http.FS(os.DirFS("./files"))) + router.Static("/assets", "./assets") + router.GET("/:random_string/:name", gin.WrapH(files)) router.Run(":8080") -- cgit v1.2.3