blob: 8fa3657243f5d11b6a135d4217f363381fdc0e69 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Returns the file body for this non-HTML file.
// The content type is based off of the extension in the filename,
// in this case: about.json.
export async function GET() {
return new Response(
JSON.stringify({
name: 'Astro',
url: 'https://astro.build/',
})
);
}
|