summaryrefslogtreecommitdiffstats
path: root/custom/conf/app.ini.sample
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-11-21 21:06:23 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-11-21 15:06:23 -0500
commitf0aaffeedccaa7b338af6cf72cef77895513c9f1 (patch)
tree9101b9c92c60a9b9776e1e23fdb9c58ef63f4d38 /custom/conf/app.ini.sample
parentcbaa1de9ec8ab1baa49357b660fab16a68097c84 (diff)
downloadgitea-f0aaffeedccaa7b338af6cf72cef77895513c9f1.tar.gz
gitea-f0aaffeedccaa7b338af6cf72cef77895513c9f1.zip
Add USE_SERVICE_WORKER setting (#9110)
* Add USE_SERVICE_WORKER setting This will be very useful setting for anyone doing frontend work. Fixes: https://github.com/go-gitea/gitea/issues/9044 * prevent potential syntax error on old browsers
Diffstat (limited to 'custom/conf/app.ini.sample')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 53488dfd47..aa580e6a55 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -153,6 +153,8 @@ THEMES = gitea,arc-green
DEFAULT_SHOW_FULL_NAME = false
; Whether to search within description at repository search on explore page.
SEARCH_REPO_DESCRIPTION = true
+; Whether to enable a Service Worker to cache frontend assets
+USE_SERVICE_WORKER = true
[ui.admin]
; Number of users that are displayed on one page