Manager: serve favicons at root web URL

This commit is contained in:
Sybren A. Stüvel 2022-06-28 12:46:51 +02:00
parent 26867c4b96
commit c613c1993a

View File

@ -306,6 +306,9 @@ func buildWebService(
// Serve the Blender add-on. It's contained in the static files of the webapp. // Serve the Blender add-on. It's contained in the static files of the webapp.
e.GET("/flamenco3-addon.zip", echo.WrapHandler(webAppHandler)) e.GET("/flamenco3-addon.zip", echo.WrapHandler(webAppHandler))
// The favicons are also in the static files of the webapp.
e.GET("/favicon.png", echo.WrapHandler(webAppHandler))
e.GET("/favicon.ico", echo.WrapHandler(webAppHandler))
// Redirect / to the webapp. // Redirect / to the webapp.
e.GET("/", func(c echo.Context) error { e.GET("/", func(c echo.Context) error {