1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-17 21:08:05 +02:00
This commit is contained in:
Alexey Palazhchenko 2015-12-31 12:37:56 +03:00
parent 5cd194b6b0
commit 9c974279b0

View File

@ -60,7 +60,7 @@ Enable/disable automatically creating an index page for the directory.
```go
e := echo.New()
e.AutoIndex(true)
e.ServerDir("/", "/Users/vr/Projects/echo")
e.ServeDir("/", "/Users/vr/Projects/echo")
e.Run(":1323")
```