new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Vite · Guide · all subjects

troubleshooting

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

server.allowedHosts security danger

Setting server.allowedHosts to 'true' allows any website to send requests to your dev server through DNS rebinding attacks, allowing them to download your source code and content. You should never add Top-Level Domains like '.com' to the list, as anyone can purchase a domain and control its IP address. Always use an explicit list of allowed hosts.

server.cors security danger

Setting server.cors to 'true' allows any website to send requests to your dev server and download your source code and content. You should always use an explicit list of allowed origins.

server.watch node_modules limitation

It's currently not possible to watch files and packages in 'node_modules'. See issue #8619 for further progress and workarounds.

server.watch WSL2 file system watching limitation

When running Vite on WSL2, file system watching does not work when a file is edited by Windows applications (non-WSL2 process). This is due to a WSL2 limitation. This also applies to running on Docker with a WSL2 backend. To fix it, either use WSL2 applications to edit your files (recommended, and move the project folder outside of a Windows filesystem as accessing it from WSL2 is slow), or set '{ usePolling: true }'. Note that 'usePolling' leads to high CPU utilization.

Give your agent this brain