labstack / echox

Echo cookbook and website
https://echo.labstack.com
MIT License
407 stars 285 forks source link

Update server.go #236

Open BorisDutkin opened 2 years ago

BorisDutkin commented 2 years ago

While running the example, refreshing the index.html page will cause an errors in the server.go. Since using infinite for loop on line (:14), you need to break it if error occurred.