不要なものを削除
This commit is contained in:
parent
f64c0d0bd5
commit
3f76fc2b14
4 changed files with 3 additions and 17 deletions
|
@ -1,7 +1,6 @@
|
|||
import axios from 'axios';
|
||||
import _const from '../const';
|
||||
|
||||
export const ua = `Mozilla/5.0 MisskeyTools/${_const.version} +https://github.com/Xeltica/MisskeyTools Node/${process.version}`;
|
||||
export const ua = `Mozilla/5.0 MisskeyTools +https://github.com/Xeltica/MisskeyTools Node/${process.version}`;
|
||||
|
||||
axios.defaults.headers['User-Agent'] = ua;
|
||||
axios.defaults.validateStatus = (stat) => stat < 500;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue