9 lines
175 B
TypeScript

export async function onRequestGet(_context: RequestContext) {
return new Response(null, {
headers: {
location: "/api/auth/oauth",
},
status: 302,
});
}