Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: document new default Vite server.fs.strict behavior
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
question: "Internal server error: The request url [...] is outside of Vite serving allow list" | ||
--- | ||
|
||
For security reasons, Vite has been configured to only allow filesystem access when the request file fulfils one of these requirements: | ||
- Within workspace root | ||
- Within the listed `server.fs.allow` exceptions | ||
- Part of the dependency graph of your application code | ||
|
||
Refer to Vite documentation for [`server.fs.allow`](https://vitejs.dev/config/#server-fs-allow) for configuration and more details. |