From bc455ed257a617bb1c033157578c4f864ff4d527 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 30 Nov 2020 20:52:04 +0100 Subject: Set RUN_MODE prod by default (#13765) I think it's a bad default to have "dev" as the default run mode which enables debugging and now also disables HTTP caching. It's better to just default to a value suitable for general deployments. Co-authored-by: techknowlogick --- custom/conf/app.example.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom/conf') diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index b9f015bf0e..af60fd8b67 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -8,8 +8,8 @@ APP_NAME = Gitea: Git with a cup of tea ; Change it if you run locally RUN_USER = git -; Either "dev", "prod" or "test", default is "dev" -RUN_MODE = dev +; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod" +RUN_MODE = prod [project] ; Default templates for project boards -- cgit v1.2.3