-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
TanStack Table version
8.21.3
Framework/Library version
React 18.3.1
Describe the bug and the steps to reproduce it
A recent update to Vite blocks the use of proxies without specifying allowed hosts. When attempting to view any tanstack table example in Codesandbox, you receive an error that looks something like this:
Blocked request. This host ("1nnk56-5173.csb.app") is not allowed.
To allow this host, add "1nnk56-5173.csb.app" toserver.allowedHostsin vite.config.js.
Adding the server.allowedHosts key to the vite.config.js file resolves the issue. However, forking a repo just to see/interact with an example seems like a lot.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
PR added -- #6176
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels