From bec7660a02f2d5178b940a544f8d9c92beb25219 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Thu, 25 Sep 2025 03:26:38 +0500 Subject: [PATCH] wip --- README.md | 7 +------ src/app/api/orderApi.js | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f768e33..225aa57 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ # React + Vite -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -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 +pm2 start "npm run preview" --name fr diff --git a/src/app/api/orderApi.js b/src/app/api/orderApi.js index 9a3151b..f033d3b 100644 --- a/src/app/api/orderApi.js +++ b/src/app/api/orderApi.js @@ -17,6 +17,7 @@ export const orderApi = baseApi.injectEndpoints({ method: "POST", body: new URLSearchParams(orderDetails), headers: { + "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", }, }),