mirror of
https://github.com/kataras/iris.git
synced 2026-02-27 21:15:56 +00:00
add Greek language side by side with Chinese and Russian
Former-commit-id: 4a44ae6f27d94deddd89afda6b1d83218a0ae309
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
func main() {
|
||||
app := iris.New()
|
||||
// load templaes.
|
||||
// load templates.
|
||||
app.RegisterView(iris.HTML("./views", ".html"))
|
||||
|
||||
// render the ./views/index.html.
|
||||
|
||||
@@ -13,7 +13,7 @@ func main() {
|
||||
// app := iris.New()
|
||||
app := iris.Default()
|
||||
|
||||
// load templaes
|
||||
// load templates
|
||||
app.RegisterView(iris.HTML("./templates", ".html").Reload(true))
|
||||
// setup the websocket server
|
||||
ws := websocket.New(websocket.Config{})
|
||||
|
||||
Reference in New Issue
Block a user