feat: start using refresh tokens and better session handler

This commit is contained in:
canove
2020-09-29 20:30:02 -03:00
parent 3a777dec39
commit c8b4b5bdfe
16 changed files with 209 additions and 46 deletions

View File

@@ -2,6 +2,7 @@ import axios from "axios";
const api = axios.create({
baseURL: process.env.REACT_APP_BACKEND_URL,
withCredentials: true,
});
export default api;