aboutsummaryrefslogtreecommitdiff
path: root/router
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-07-18 12:24:06 +0530
committerBobby <[email protected]>2025-07-18 12:24:06 +0530
commit01e730c68a79862112798d4816625ddcd00350d9 (patch)
tree3850e69c55334756b0faef76f54d9a74091f92d2 /router
parent8df8cdd7e1bdefded59d073c14aa74666740be8c (diff)
downloadimageboard-01e730c68a79862112798d4816625ddcd00350d9.tar.xz
imageboard-01e730c68a79862112798d4816625ddcd00350d9.zip
refactor ratings, minify content, update single post page
Diffstat (limited to 'router')
-rw-r--r--router/routes.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/router/routes.go b/router/routes.go
index bac5237..786e592 100644
--- a/router/routes.go
+++ b/router/routes.go
@@ -7,6 +7,8 @@ import (
)
func Initialize(router *fiber.App) {
+ router.Static("/static", "./static")
+
main := router.Group("/")
main.Get("/", controllers.HomePageController)