push
This commit is contained in:
10
lib/util/http/index.ts
Normal file
10
lib/util/http/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user