From 262d49d2cfaaf4a1f25d9fc077fbe602e1cde293 Mon Sep 17 00:00:00 2001 From: mhmmdjafarg <mjafarashadiq712@gmail.com> Date: Sun, 17 Apr 2022 21:55:25 +0700 Subject: [PATCH] add https over http --- src/http-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http-common.js b/src/http-common.js index 63ae394..3a2f186 100644 --- a/src/http-common.js +++ b/src/http-common.js @@ -3,7 +3,7 @@ import axios from 'axios'; const token = localStorage.getItem('token') export const HTTP = axios.create({ - baseURL: `http://simkpi-backend.herokuapp.com/api/`, + baseURL: `https://simkpi-backend.herokuapp.com/api/`, headers: { Accept: 'application/json', Authorization: `Bearer ${token}` -- GitLab