11 lines
325 B
TypeScript
11 lines
325 B
TypeScript
import type { LoaderFunctionArgs } from "react-router";
|
|
import { oauthAuthorizationServerMetadata } from "~/services/mcp/oauth.server";
|
|
|
|
export const loader = async (_args: LoaderFunctionArgs) => {
|
|
return Response.json(oauthAuthorizationServerMetadata(), {
|
|
headers: {
|
|
"Cache-Control": "no-store",
|
|
},
|
|
});
|
|
};
|