wip
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
@@ -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",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user