iris
iris copied to clipboard
StaticWeb don't render index.html
i set b.StaticWeb("./public/","/public")
but http://localhost:8080/public


@xuehuizhang there is no StaticWeb. The last releases have the HandleDir method instead, which contains various fixes and improvements. Please upgrade your Iris, you are using old version.
Follow the documentation at:
- https://github.com/kataras/iris/wiki/Installation
- https://github.com/kataras/iris/wiki/File-server
Thank you
You are very welcomed, don't hesitate to ask if you need further assistance!