From 60bdb4c1fb5b2d00e86f5eadf5c7c9456daf8a6a Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 20 May 2021 14:53:50 +0200 Subject: [PATCH] remove accept charset header, blocking sending to back --- src/app/core/services/api.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/services/api.service.ts b/src/app/core/services/api.service.ts index 4eab0176..6b01ae1f 100644 --- a/src/app/core/services/api.service.ts +++ b/src/app/core/services/api.service.ts @@ -39,7 +39,7 @@ export class ApiService { this.axiosInstance.defaults.headers.post['Content-Type'] = 'application/json'; this.axiosInstance.defaults.headers.post['Accept'] = 'application/json'; this.axiosInstance.defaults.headers.post['Charset'] = 'UTF-8'; - this.axiosInstance.defaults.headers.post['Accept-Charset'] = 'UTF-8'; + // this.axiosInstance.defaults.headers.post['Accept-Charset'] = 'UTF-8'; this.axiosInstance.defaults.headers.post['Access-Control-Allow-Methods'] = 'GET, POST, PUT, DELETE, OPTIONS'; this.axiosInstance.defaults.headers.post['Referrer-Policy'] = 'origin-when-cross-origin'; this.axiosInstance.defaults.headers.post['Access-Control-Allow-Origin'] = '*';