diff options
author | 2022-09-26 20:13:25 +0200 | |
---|---|---|
committer | 2022-09-26 14:13:25 -0400 | |
commit | 6fd00c4941441663247fedbf322ef9bd75108045 (patch) | |
tree | aef1f4efb70ba3514dc51521d4fd873a81da61e4 /examples/ssr/src | |
parent | e948f62bbc21d581bcfd7705f5a64e2b9ce2cf48 (diff) | |
download | astro-6fd00c4941441663247fedbf322ef9bd75108045.tar.gz astro-6fd00c4941441663247fedbf322ef9bd75108045.tar.zst astro-6fd00c4941441663247fedbf322ef9bd75108045.zip |
add double check on astro file return type to display more human readable error (#4857)
Diffstat (limited to 'examples/ssr/src')
-rw-r--r-- | examples/ssr/src/pages/index.astro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/ssr/src/pages/index.astro b/examples/ssr/src/pages/index.astro index 23a4c2721..a8f95588b 100644 --- a/examples/ssr/src/pages/index.astro +++ b/examples/ssr/src/pages/index.astro @@ -6,6 +6,8 @@ import { getProducts } from '../api'; import '../styles/common.css'; const products = await getProducts(Astro.request); + +return; --- <html lang="en"> |