Skip to content

Commit

Permalink
docs: clarify route level config, fix typo (#8944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Feb 8, 2023
1 parent 3fb80bd commit c225f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/20-core-concepts/40-page-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ This option also affects [prerendering](#prerender). If `trailingSlash` is `alwa
## config

With the concept of [adapters](/docs/adapters), SvelteKit is able to run on a variety of platforms. Each of these might have specific configuration to further tweak the deployment — for example with Vercel or Netlify you could chose to deploy some parts of your app on the edge and others on serverless environments.
With the concept of [adapters](/docs/adapters), SvelteKit is able to run on a variety of platforms. Each of these might have specific configuration to further tweak the deployment — for example on Vercel you could choose to deploy some parts of your app on the edge and others on serverless environments.

`config` is an object with key-value pairs at the top level. Beyond that, the concrete shape is dependent on the adapter you're using. Every adapter should provide a `Config` interface to import for type safety. Consult the documentation of your adapter for more information.

Expand Down

0 comments on commit c225f24

Please sign in to comment.