[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: fix API config typo (#9815)

Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>

authored by

Rohan Santhosh
rohan436
and committed by
GitHub
(Mar 7, 2026, 2:19 PM +0100) ca077b7f 03759321

+1 -1
+1 -1
docs/config/api.md
··· 16 16 - **Type:** `boolean` 17 17 - **Default:** `true` if not exposed to the network, `false` otherwise 18 18 19 - Vitest server can save test files or snapshot files via the API. This allows anyone who can connect to the API the ability to run any arbitary code on your machine. 19 + Vitest server can save test files or snapshot files via the API. This allows anyone who can connect to the API the ability to run any arbitrary code on your machine. 20 20 21 21 ::: danger SECURITY ADVICE 22 22 Vitest does not expose the API to the internet by default and only listens on `localhost`. However if `host` is manually exposed to the network, anyone who connects to it can run arbitrary code on your machine, unless `api.allowWrite` and `api.allowExec` are set to `false`.