aboutsummaryrefslogtreecommitdiff
path: root/forged
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-18 01:50:24 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-18 01:50:24 +0800
commitd1bc8933e4a004324539b8d1f20560045579de4f (patch)
treeb54296921e7be961d984a75316dc780b5e39908a /forged
parentAdd sqlc (diff)
downloadforge-d1bc8933e4a004324539b8d1f20560045579de4f.tar.gz
forge-d1bc8933e4a004324539b8d1f20560045579de4f.tar.zst
forge-d1bc8933e4a004324539b8d1f20560045579de4f.zip
Add templates and static paths to the web config
Diffstat (limited to 'forged')
-rw-r--r--forged/internal/incoming/web/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/forged/internal/incoming/web/config.go b/forged/internal/incoming/web/config.go
index 63a7f37..8d32b34 100644
--- a/forged/internal/incoming/web/config.go
+++ b/forged/internal/incoming/web/config.go
@@ -11,4 +11,6 @@ type Config struct {
MaxHeaderBytes int `scfg:"max_header_bytes"`
ReverseProxy bool `scfg:"reverse_proxy"`
ShutdownTimeout uint32 `scfg:"shutdown_timeout"`
+ TemplatesPath string `scfg:"templates_path"`
+ StaticPath string `scfg:"static_path"`
}