hvanu commited on
Commit
ccf6424
·
1 Parent(s): 48e528b
Files changed (1) hide show
  1. main.go +5 -5
main.go CHANGED
@@ -136,11 +136,11 @@ func main() {
136
  // Serve static files from ./frontend, no directory listing
137
  r.StaticFS("/assets", gin.Dir("./assets", false))
138
 
139
- r.GET("/", func(c *gin.Context) {
140
- // Load HTML templates from ./frontend folder
141
- // Render the template by name
142
- c.HTML(http.StatusOK, "index.html", gin.H{})
143
- })
144
 
145
  // Route to serve parsed HTML template partials
146
  r.GET("/partials", func(c *gin.Context) {
 
136
  // Serve static files from ./frontend, no directory listing
137
  r.StaticFS("/assets", gin.Dir("./assets", false))
138
 
139
+ // r.GET("/", func(c *gin.Context) {
140
+ // // Load HTML templates from ./frontend folder
141
+ // // Render the template by name
142
+ // c.HTML(http.StatusOK, "index.html", gin.H{})
143
+ // })
144
 
145
  // Route to serve parsed HTML template partials
146
  r.GET("/partials", func(c *gin.Context) {