From 7410b8cd74d0f702b087577b1793bcf541ac8371 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Sun, 9 Jun 2019 04:00:21 -0400 Subject: init staticAssets explicitly on startup --- svc/init_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'svc/init_test.go') diff --git a/svc/init_test.go b/svc/init_test.go index 11a1593..8fd8e95 100644 --- a/svc/init_test.go +++ b/svc/init_test.go @@ -23,6 +23,7 @@ func initTestConf() { testConfig() tmpls = testTemplates() + staticCache = initAssets() confObj.Mu.RLock() defer confObj.Mu.RUnlock() -- cgit 1.4.1-2-gfad0