Skip to content

Commit

Permalink
chore: document new default Vite server.fs.strict behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
GrygrFlzr committed Jul 7, 2021
1 parent 734c8fc commit d545427
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentation/faq/90-fs-strict.md
@@ -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.

0 comments on commit d545427

Please sign in to comment.