fix bapp for metadata

This commit is contained in:
Hailey
2025-07-18 00:48:42 -07:00
parent 4e4ddd3630
commit 22e64be877
+2
View File
@@ -214,6 +214,8 @@ func serve(cctx *cli.Context) error {
return c.Redirect(http.StatusMovedPermanently, "/.well-known/security.txt") return c.Redirect(http.StatusMovedPermanently, "/.well-known/security.txt")
}) })
e.GET("/.well-known/*", echo.WrapHandler(staticHandler)) e.GET("/.well-known/*", echo.WrapHandler(staticHandler))
e.GET("/oauth-client-metadata.json", echo.WrapHandler(staticHandler))
e.GET("/oauth-client-metadata.native.json", echo.WrapHandler(staticHandler))
} }
// default to permissive, but Disallow all if flag set // default to permissive, but Disallow all if flag set