From 2c585ab2275612d73e2ec11ca501373631f4cbbd Mon Sep 17 00:00:00 2001 From: goodmice Date: Thu, 2 Dec 2021 15:12:22 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE=D0=BA?= =?UTF-8?q?=20=D1=81=20Content-Type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 9b81ac1..f420b63 100644 --- a/src/App.js +++ b/src/App.js @@ -13,19 +13,20 @@ import { PrivateRoute } from './components/Private' //OpenAPI.BASE = 'http://localhost:3000' OpenAPI.TOKEN = localStorage['token'] +OpenAPI.HEADERS = {'Content-Type': 'application/json'} export default function App() { return ( - + - + - +