kopia lustrzana https://codeberg.org/nmkj/audon
serve favicon as a static file
rodzic
9d5f40f43f
commit
a55fe1a490
|
@ -150,6 +150,7 @@ func main() {
|
|||
api.PUT("/room/:room/:user", updatePermissionHandler)
|
||||
|
||||
e.Static("/assets", "audon-fe/dist/assets")
|
||||
e.File("/favicon.ico", "audon-fe/dist/favicon.ico")
|
||||
e.File("/*", "audon-fe/dist/index.html")
|
||||
|
||||
// use anonymous func to support graceful shutdown
|
||||
|
|
Ładowanie…
Reference in New Issue