diff options
Diffstat (limited to 'packages/integrations/netlify/test/hosted/hosted-astro-project/src/pages/country.astro')
-rw-r--r-- | packages/integrations/netlify/test/hosted/hosted-astro-project/src/pages/country.astro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/integrations/netlify/test/hosted/hosted-astro-project/src/pages/country.astro b/packages/integrations/netlify/test/hosted/hosted-astro-project/src/pages/country.astro new file mode 100644 index 000000000..cad7116d6 --- /dev/null +++ b/packages/integrations/netlify/test/hosted/hosted-astro-project/src/pages/country.astro @@ -0,0 +1,7 @@ +--- +const country = Astro.locals.middleware; +--- + +<h1>{country}</h1> +<h3>{country ? 'has context' : 'no context'}</h3> +<h2>{Astro.locals.runtime}</h2> |