1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 11:57:02 +00:00

Update to version 10.6.5: 1 New Feature And Indonesia Translation | Read HISTORY.md

Former-commit-id: 4788e36e52f6b40c7e15120e0675c097eabf0f0d
This commit is contained in:
Gerasimos Maropoulos
2018-05-21 07:40:43 +03:00
parent 8c41968905
commit 94b93484b5
19 changed files with 503 additions and 30 deletions

View File

@@ -8,10 +8,10 @@ func main() {
app := iris.New()
// This will serve the ./static/favicons/favicon.ico to: localhost:8080/favicon.ico
app.Favicon("./static/favicons/favicon.ico.ico")
app.Favicon("./static/favicons/favicon.ico")
// app.Favicon("./static/favicons/favicon.ico.ico", "/favicon_16_16.ico")
// This will serve the ./static/favicons/favicon.ico.ico to: localhost:8080/favicon_16_16.ico
// app.Favicon("./static/favicons/favicon.\\.ico", "/favicon_16_16.ico")
// This will serve the ./static/favicons/favicon.ico to: localhost:8080/favicon_16_16.ico
app.Get("/", func(ctx iris.Context) {
ctx.HTML(`<a href="/favicon.ico"> press here to see the favicon.ico</a>.