Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,8 +1,17 @@
|
||||
import { LoaderFunctionArgs } from "react-router";
|
||||
import Page404 from "~/components/pages/Page404";
|
||||
import ServerError from "~/components/ui/errors/ServerError";
|
||||
import { oauthAuthorizationServerMetadata } from "~/services/mcp/oauth.server";
|
||||
|
||||
export const loader = async ({ request }: LoaderFunctionArgs) => {
|
||||
const url = new URL(request.url);
|
||||
if (url.pathname === "/.well-known/oauth-authorization-server") {
|
||||
return Response.json(oauthAuthorizationServerMetadata(), {
|
||||
headers: {
|
||||
"Cache-Control": "no-store",
|
||||
},
|
||||
});
|
||||
}
|
||||
return Response.json({}, { status: 404 });
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user