diff --git a/website/content/guide/customization.md b/website/content/guide/customization.md index 879d038d..030e62bf 100644 --- a/website/content/guide/customization.md +++ b/website/content/guide/customization.md @@ -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") ```