summaryrefslogtreecommitdiff
path: root/plugins/http/config
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-26 21:41:37 +0300
committerValery Piashchynski <[email protected]>2021-04-26 21:41:37 +0300
commitd3912947d8c5500649b86e886623c434e24cacc8 (patch)
tree0bf1a97c4cdb5b8c98e878dae28527031723858e /plugins/http/config
parentb1a7f0cafa9eb10fbb6ac7dc79ec7da8257051ea (diff)
- Update default pattern
Diffstat (limited to 'plugins/http/config')
-rw-r--r--plugins/http/config/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/config/http.go b/plugins/http/config/http.go
index 31b10322..53a22f3c 100644
--- a/plugins/http/config/http.go
+++ b/plugins/http/config/http.go
@@ -106,7 +106,7 @@ func (c *HTTP) InitDefaults() error {
// static files
if c.Static != nil {
if c.Static.Pattern == "" {
- c.Static.Pattern = "/static"
+ c.Static.Pattern = "/static/"
}
}