mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 07:37:49 +02:00
conf: add allowlist for accessing local network (#6842)
# Conflicts: # CHANGELOG.md # internal/assets/conf/conf_gen.go # internal/assets/templates/templates_gen.go # internal/conf/static.go # internal/conf/testdata/TestInit.golden.ini
This commit is contained in:
@@ -153,6 +153,8 @@ You would have to re-run this command after changing Go files, or any file under
|
||||
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user