You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
243 B
11 lines
243 B
7 months ago
|
import { NSAxios } from './axios';
|
||
|
|
||
|
function createHttp() {
|
||
|
return new NSAxios({
|
||
|
headers: { 'Content-Type': 'application/json;charset=UTF-8' },
|
||
|
withCredentials: false,
|
||
|
timeout: 3 * 1000,
|
||
|
});
|
||
|
}
|
||
|
export const http = createHttp();
|