Skip to content

Commit 84f6136

Browse files
Update documentation/docs/10-adapters.md
Co-authored-by: Ignatius Bagus <[email protected]>
1 parent 9b506f1 commit 84f6136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/10-adapters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Within the `adapt` method, there are a number of things that an adapter should d
9292
- Output code that:
9393
- Imports `App` from `${builder.getServerDirectory()}/app.js`
9494
- Instantiates the app with a manifest generated with `builder.generateManifest({ relativePath })`
95-
- Listens for requests from the platform, converts them to a standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request if necessary), calls the `render` function to generate a [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) and responds with it
95+
- Listens for requests from the platform, converts them to a standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) if necessary, calls the `render` function to generate a [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) and responds with it
9696
- Globally shims `fetch` to work on the target platform, if necessary. SvelteKit provides a `@sveltejs/kit/install-fetch` helper for platforms that can use `node-fetch`
9797
- Bundle the output to avoid needing to install dependencies on the target platform, if necessary
9898
- Put the user's static files and the generated JS/CSS in the correct location for the target platform

0 commit comments

Comments
 (0)