diff --git a/main.go b/main.go index dcb27ce..9dd371a 100644 --- a/main.go +++ b/main.go @@ -15,6 +15,12 @@ func main() { // Initialize the router router := gin.Default() + // Read HTML Templates + router.LoadHTMLGlob("templates/**/*.html") + + // Load in static path + router.Static("/static", "static/") + router.Run(":8080") }