From 714383a063f64fcc7c6a458182c4f9cf5a46df66 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Mon, 14 Mar 2022 22:06:08 +0800 Subject: conf: add allowlist for accessing local network (#6842) --- docs/dev/local_development.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/dev') diff --git a/docs/dev/local_development.md b/docs/dev/local_development.md index 7d1265e5..1b4f44b6 100644 --- a/docs/dev/local_development.md +++ b/docs/dev/local_development.md @@ -154,6 +154,8 @@ task web --watch When you are actively working on HTML templates and static files during development, you may want to enable the following configuration to avoid recompiling and restarting Gogs every time you make a change to files under `template/` and `public/` directories: ```ini +RUN_MODE = dev + [server] LOAD_ASSETS_FROM_DISK = true ``` -- cgit v1.2.3