This commit is contained in:
nurmuhammet committed 2025-09-25 03:26:38 +05:00
1 parent b524fa6968
commit bec7660a02
2 files changed
+2 -6

No files matched your search

+1 -6
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
+1
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",
}, },
}), }),