Remove HTML template and simplify API response with static home page
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
|
||||
func SetupRouter(r *gin.Engine, appContext *internal.AppContext) *gin.Engine {
|
||||
|
||||
r.LoadHTMLGlob("templates/*")
|
||||
|
||||
adminDashboardHandler := handlers_admin.NewAdminDashboardHandler(appContext)
|
||||
homePageHandler := handlers_home.NewMainPageHandler(appContext)
|
||||
|
||||
Reference in New Issue
Block a user