mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
@ -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")
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user