blob: 8bf4a858f06b5f38e87c1213e6072673372b8729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
import Layout from '../../layouts/Layout.astro';
import Markdown from '../../components/Markdown.astro';
const explainer = `
# You've reached the fallback page.
This page is using a [Netlify Edge Function](https://docs.netlify.com/edge-functions/overview/) to rewrite the URL based on visitor geography.
For it to be invoked, please either run this site locally with \`netlify dev\` or deploy it to Netlify.
Edge Functions are framework-agnostic, but are also used behind the scenes to run Astro Middleware on Netlify.
There are advatanges to using Edge Functions directly, such as the ability to access & transform the response body.
[See more examples](https://edge-functions-examples.netlify.app)
`;
---
<Layout title="Fallback">
<Markdown content={explainer} />
</Layout>
|