This commit is contained in:
2025-09-25 03:26:38 +05:00
parent b524fa6968
commit bec7660a02
2 changed files with 2 additions and 6 deletions

View File

@@ -1,8 +1,3 @@
# React + Vite # React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. pm2 start "npm run preview" --name fr
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

View File

@@ -17,6 +17,7 @@ export const orderApi = baseApi.injectEndpoints({
method: "POST", method: "POST",
body: new URLSearchParams(orderDetails), body: new URLSearchParams(orderDetails),
headers: { headers: {
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded", "Content-Type": "application/x-www-form-urlencoded",
}, },
}), }),