Skip to content

Commit 7cc98b1

Browse files
authored
Update documentation/docs/30-add-ons/60-devtools-json.md
1 parent 6061d2f commit 7cc98b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/30-add-ons/60-devtools-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The `devtools-json` add-on installs [`vite-plugin-devtools-json`](https://github
77
> [!NOTE]
88
> Installing the plugin enables the feature for all users connecting to the dev server with a Chromium browser, and allows the browser to read and write all files within the directory. If using Chrome's AI Assistance feature, this may also result in data being sent to Google.
99
10-
You can also prevent the warning by handling the request yourself. For example, you can create a file named `.well-known/appspecific/com.chrome.devtools.json` with the contents `"Go away, Chrome DevTools!"` or you can add logic to your [`handle`](https://svelte.dev/docs/kit/hooks#Server-hooks-handle) hook:
10+
You can also prevent the warning for all developers of your application by handling the request yourself. For example, you can create a file named `.well-known/appspecific/com.chrome.devtools.json` with the contents `"Go away, Chrome DevTools!"` or you can add logic to respond to the request in your [`handle`](https://svelte.dev/docs/kit/hooks#Server-hooks-handle) hook:
1111

1212
```js
1313
/// file: src/hooks.server.js

0 commit comments

Comments
 (0)