1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-15 01:34:53 +02:00

Enhanced body-limit middleware

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2016-05-23 11:23:15 -07:00
parent 96898d5b9b
commit 08a173b476
4 changed files with 45 additions and 17 deletions

View File

@ -20,7 +20,8 @@ type (
// Optional. Default value "index.html".
Index string `json:"index"`
// Enable HTML5 mode by forwarding all not-found routes to root.
// Enable HTML5 mode by forwarding all not-found requests to root so that
// SPA (single-page application) can handle the routing.
HTML5 bool `json:"html5"`
// Enable directory browsing.