From 55ed6a480ea049f789d778e4bae06ffa4d790ee1 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 19 Apr 2020 08:18:36 +0000 Subject: Add single instance mode --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index aac7741..99adb7c 100644 --- a/main.go +++ b/main.go @@ -101,7 +101,7 @@ func main() { s := service.NewService(config.ClientName, config.ClientScope, config.ClientWebsite, customCSS, config.PostFormats, renderer, - sessionRepo, appRepo) + sessionRepo, appRepo, config.SingleInstance) s = service.NewAuthService(sessionRepo, appRepo, s) s = service.NewLoggingService(logger, s) handler := service.NewHandler(s, config.StaticDirectory) -- cgit v1.2.3