Seperate API from UI

This commit is contained in:
video-prize-ranch
2023-01-01 15:12:03 -05:00
parent e03abd0ab9
commit a3feae6b30
11 changed files with 79 additions and 58 deletions

View File

@@ -26,6 +26,8 @@ func main() {
fmt.Println(err)
}
utils.LoadConfig()
pages.InitializeApiClient()
engine := handlebars.NewFileSystem(http.FS(views.GetFiles()), ".hbs")