summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/labstack/echo/middleware/static.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-21 00:48:10 +0100
committerWim <wim@42.be>2018-02-21 00:48:10 +0100
commit55ab0c12f12e2f0ee15dccd519e1fca4d011b73b (patch)
tree8d114d1129424e446a0124b9520d2ff3b2175369 /vendor/github.com/labstack/echo/middleware/static.go
parentd1227b5fc9de9f7a04fbf71292dd224aa8806411 (diff)
downloadmatterbridge-msglm-55ab0c12f12e2f0ee15dccd519e1fca4d011b73b.tar.gz
matterbridge-msglm-55ab0c12f12e2f0ee15dccd519e1fca4d011b73b.tar.bz2
matterbridge-msglm-55ab0c12f12e2f0ee15dccd519e1fca4d011b73b.zip
Update vendor labstack/echo
Diffstat (limited to 'vendor/github.com/labstack/echo/middleware/static.go')
-rw-r--r--vendor/github.com/labstack/echo/middleware/static.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/labstack/echo/middleware/static.go b/vendor/github.com/labstack/echo/middleware/static.go
index 29686e0c..7208c3a2 100644
--- a/vendor/github.com/labstack/echo/middleware/static.go
+++ b/vendor/github.com/labstack/echo/middleware/static.go
@@ -19,20 +19,20 @@ type (
// Root directory from where the static content is served.
// Required.
- Root string `json:"root"`
+ Root string `yaml:"root"`
// Index file for serving a directory.
// Optional. Default value "index.html".
- Index string `json:"index"`
+ Index string `yaml:"index"`
// Enable HTML5 mode by forwarding all not-found requests to root so that
// SPA (single-page application) can handle the routing.
// Optional. Default value false.
- HTML5 bool `json:"html5"`
+ HTML5 bool `yaml:"html5"`
// Enable directory browsing.
// Optional. Default value false.
- Browse bool `json:"browse"`
+ Browse bool `yaml:"browse"`
}
)