less hacking way of pulling poe data

This commit is contained in:
2018-08-27 23:54:27 -05:00
parent 5423b81c95
commit 97acc0d4fa
34 changed files with 651 additions and 221 deletions

View File

@@ -1,3 +1,7 @@
import axios from 'axios';
export const http = axios.create();
export const setHeader = (header: string, value: string) => {
http.defaults.headers[header] = value;
};