mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 19:07:06 +00:00
fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/kataras/iris/v12"
|
||||
|
||||
// optionally, registers filters like `timesince`.
|
||||
_ "github.com/flosch/pongo2-addons"
|
||||
_ "github.com/iris-contrib/pongo2-addons"
|
||||
)
|
||||
|
||||
var startTime = time.Now()
|
||||
@@ -26,7 +26,7 @@ func main() {
|
||||
app.Get("/", hi)
|
||||
|
||||
// http://localhost:8080
|
||||
app.Run(iris.Addr(":8080"), iris.WithCharset("UTF-8")) // defaults to that but you can change it.
|
||||
app.Run(iris.Addr(":8080"))
|
||||
}
|
||||
|
||||
func hi(ctx iris.Context) {
|
||||
|
||||
Reference in New Issue
Block a user