aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 240ca1a..dd00a9b 100644
--- a/main.go
+++ b/main.go
@@ -63,7 +63,9 @@ func main() {
63 } 63 }
64 } 64 }
65 65
66 renderer := frontend.New("views") 66 functions := charakterin.GetRendererFunctions()
67
68 renderer := frontend.New("views", functions)
67 login := charakterin.New(db) 69 login := charakterin.New(db)
68 login.UseRenderer(renderer) 70 login.UseRenderer(renderer)
69 if config.AnilistAPI.ClientID != "" && config.AnilistAPI.ClientSecret != "" { 71 if config.AnilistAPI.ClientID != "" && config.AnilistAPI.ClientSecret != "" {