We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kit
1 parent 68d9c5e commit 8de2a82Copy full SHA for 8de2a82
apps/svelte.dev/content/docs/kit/60-appendix/10-faq.md
@@ -144,7 +144,7 @@ How to setup rewrites in production will depend on your deployment platform. If
144
/// file: src/routes/api/[...path]/+server.js
145
/** @type {import('./$types').RequestHandler} */
146
export function GET({ params, url }) {
147
- return fetch(`https://my-api-server.com/${params.path + url.search}`);
+ return fetch(`https://example.com/${params.path + url.search}`);
148
}
149
```
150
0 commit comments