Skip to content

Instantly share code, notes, and snippets.

@CarlosLevir
Created March 16, 2019 19:39
Show Gist options
  • Save CarlosLevir/eb1a2cbb8525480e03995f76f6bf3bfe to your computer and use it in GitHub Desktop.
Save CarlosLevir/eb1a2cbb8525480e03995f76f6bf3bfe to your computer and use it in GitHub Desktop.
import axios from 'axios';
import * as env from '../.env.json';
const request = axios.create({
baseURL: env.youtubeApiUrl
});
export default request;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment