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.
1 parent b216e47 commit 7044ea7Copy full SHA for 7044ea7
documentation/docs/60-appendix/10-faq.md
@@ -143,7 +143,7 @@ How to setup rewrites in production will depend on your deployment platform. If
143
/// file: src/routes/api/[...path]/+server.js
144
/** @type {import('./$types').RequestHandler} */
145
export function GET({ params, url }) {
146
- return fetch(`https://my-api-server.com/${params.path + url.search}`);
+ return fetch(`https://example.com/${params.path + url.search}`);
147
}
148
```
149
0 commit comments