developit / redaxios

The Axios API, as an 800 byte Fetch wrapper.

Home Page:https://npm.im/redaxios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing defaults support

CatchABus opened this issue · comments

This package seems to be missing axios defaults support.
Even default instance makes use of them.

Example:

import axios from "axios";

axios.defaults.baseURL = "/myurl";

Axios has these defaults right here: https://github.com/axios/axios/blob/v1.x/lib/defaults/index.js#L59

Duplicate of #62