diff options
author | 2023-09-04 15:12:28 +0000 | |
---|---|---|
committer | 2023-09-04 15:12:28 +0000 | |
commit | c48d4765c12ca28f4e1fa056959dce9016277b05 (patch) | |
tree | c30cd6cc319fccb9771889b0422bc5501d363deb /examples/non-html-pages | |
parent | d92ab065445b2ba904f01dae2c320d70af1e1f72 (diff) | |
download | astro-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.ts | 10 |
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/', + }) + ); } |