Proxy (Vite)
Also written: /api proxy, proxy
A Vite dev-server setting that forwards requests starting with `/api` to another server, here the practice server on port 8080. It avoids CORS errors.
Where the book teaches it
Related terms
CORS (Cross-Origin Resource Sharing)Dev serverAPI (Application Programming Interface)