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 Sep 9, 2022
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 = {