add/serve .well-known files (both files)
parent
c98b65f6a9
commit
e58fe2e204
|
@ -108,7 +108,7 @@ func serve(cctx *cli.Context) error {
|
||||||
// static files
|
// static files
|
||||||
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
|
e.GET("/robots.txt", echo.WrapHandler(staticHandler))
|
||||||
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)))
|
e.GET("/static/*", echo.WrapHandler(http.StripPrefix("/static/", staticHandler)))
|
||||||
e.GET("/.well-known/assetlinks.json", echo.WrapHandler(staticHandler))
|
e.GET("/.well-known/*", echo.WrapHandler(staticHandler))
|
||||||
|
|
||||||
// home
|
// home
|
||||||
e.GET("/", server.WebHome)
|
e.GET("/", server.WebHome)
|
||||||
|
|
Loading…
Reference in New Issue