diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 != "" { |