Skip to content

Commit

Permalink
docs: fix typo and improve adaptators (QwikDev#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
forresst authored Nov 10, 2022
1 parent 3580f0f commit 8b98e97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ The compiled middleware will be built in the `server/` directory and can then be
// export the compiled middleware where cloudflare pages can find it.
// for example use /functions/[[path]].ts or /functions/_middleware.ts
// to have qwik city handle all requests.
/
export { onRequest } from '../server/entry.cloudflare-pages';
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ The compiled middleware will be built in the `.netlify/edge-functions` directory

## Netlify Edge Functions Declarations

[Netlify Edge Functions declarations](https://docs.netlify.com/edge-functions/declarations/)
can be configured to run on specific URL patterns. Each edge function declaration associates
one site path pattern with one function to execute on requests that match the path. A single request can execute a chain of edge functions from a series of declarations. A single edge function can be associated with multiple paths across various declarations.
[Netlify Edge Functions declarations](https://docs.netlify.com/edge-functions/declarations/) can be configured to run on specific URL patterns. Each edge function declaration associates one site path pattern with one function to execute on requests that match the path. A single request can execute a chain of edge functions from a series of declarations. A single edge function can be associated with multiple paths across various declarations.

This is useful to determine if a page response should be Server-Side Rendered (SSR) or if the response should use a static-site generated (SSG) `index.html` file instead.

Expand Down Expand Up @@ -90,7 +88,7 @@ export default defineConfig(() => {
});
```

Remove the catch-all `edge_functions`` config from `netlify.toml`
Remove the catch-all `edge_functions` config from `netlify.toml`

```diff
-[[edge_functions]]
Expand Down

0 comments on commit 8b98e97

Please sign in to comment.