UNPKG

astro-sveltia-cms

Version:

Add Sveltia CMS admin dashboard and a custom OAuth backend to your Astro project

9 lines (6 loc) 189 B
import type { APIRoute } from "astro"; import { authUrl } from "./_config"; export const prerender = false; export const GET: APIRoute = ({ redirect }) => { return redirect(authUrl); };