aboutsummaryrefslogtreecommitdiff
path: root/src/http.js
blob: 355efb2deef44c0f83d79872ece715b010b715cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import axios from 'axios';

class Http {
    constructor() {
        this.service = axios.create();
    }

    set config(configOptions) {
        this.service = axios.create(configOptions);
    }
}


export default new Http();