aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-03-14 22:06:08 +0800
committerGitHub <noreply@github.com>2022-03-14 22:06:08 +0800
commit714383a063f64fcc7c6a458182c4f9cf5a46df66 (patch)
treeebed76f917e9817cd78c4dda07813f93f3bb16bd /docs/dev
parenta2c632526111b3333de482c69709a7ca70a173f8 (diff)
conf: add allowlist for accessing local network (#6842)
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/local_development.md2
1 files changed, 2 insertions, 0 deletions
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
```