diff options
Diffstat (limited to 'svc/init.go')
-rw-r--r-- | svc/init.go | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/svc/init.go b/svc/init.go index 01e1192..aed3449 100644 --- a/svc/init.go +++ b/svc/init.go @@ -38,17 +38,7 @@ var twtxtCache = registry.NewIndex() var remoteRegistries = &RemoteRegistries{} -var staticCache = &struct { - index []byte - indexMod time.Time - css []byte - cssMod time.Time -}{ - index: nil, - indexMod: time.Time{}, - css: nil, - cssMod: time.Time{}, -} +var staticCache = &staticAssets{} // I'm not using init() because it runs // even during testing and was causing |