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 98e03c5 commit 8808a7bCopy full SHA for 8808a7b
documentation/docs/30-add-ons/03-devtools-json.md
@@ -16,12 +16,13 @@ You can also prevent the web server from issuing a notice regarding the incoming
16
import { dev } from '$app/environment';
17
18
export function handle({ event, resolve }) {
19
- if (dev && event.url.pathname === '/.well-known/appspecific/com.chrome.devtools.json') {
20
- return new Response(undefined, { status: 404 });
21
- }
22
-
23
- return resolve(event);
+ if (dev && event.url.pathname === '/.well-known/appspecific/com.chrome.devtools.json') {
+ return new Response(undefined, { status: 404 });
+ }
+
+ return resolve(event);
24
}
25
+```
26
27
## Usage
28
0 commit comments