summaryrefslogtreecommitdiff
path: root/examples/non-html-pages
diff options
context:
space:
mode:
authorGravatar bluwy <bluwy@users.noreply.github.com> 2023-09-04 15:12:28 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-09-04 15:12:28 +0000
commitc48d4765c12ca28f4e1fa056959dce9016277b05 (patch)
treec30cd6cc319fccb9771889b0422bc5501d363deb /examples/non-html-pages
parentd92ab065445b2ba904f01dae2c320d70af1e1f72 (diff)
downloadastro-c48d4765c12ca28f4e1fa056959dce9016277b05.tar.gz
astro-c48d4765c12ca28f4e1fa056959dce9016277b05.tar.zst
astro-c48d4765c12ca28f4e1fa056959dce9016277b05.zip
[ci] format
Diffstat (limited to 'examples/non-html-pages')
-rw-r--r--examples/non-html-pages/src/pages/about.json.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/non-html-pages/src/pages/about.json.ts b/examples/non-html-pages/src/pages/about.json.ts
index 7f98ba9fe..8fa365724 100644
--- a/examples/non-html-pages/src/pages/about.json.ts
+++ b/examples/non-html-pages/src/pages/about.json.ts
@@ -2,8 +2,10 @@
// 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/',
- }));
+ return new Response(
+ JSON.stringify({
+ name: 'Astro',
+ url: 'https://astro.build/',
+ })
+ );
}