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:
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user