Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Guilherme Csorgo Henriques csorgod

🏠
Working from home
View GitHub Profile
@csorgod
csorgod / baseClient.js
Created September 9, 2022 19:02
Baseclient with axios
View baseClient.js
import axios from 'axios';
import Raven from 'raven-js';
const getClient = (baseUrl = null) => {
const opt = {
baseURL: baseUrl,
crossdomain: true
};
opt.headers = {