Update request.js

This commit is contained in:
徐聿成 2022-03-02 09:04:49 +00:00
parent 56ff4aee06
commit 3f997521bd
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import axios from 'axios'
import { message } from 'antd'
axios.defaults.timeout = 50000;
axios.defaults.baseURL = 'http://api.fecribd.com/'
axios.defaults.baseURL = 'http://api.fecribd.com'
axios.interceptors.request.use(config => {
const secret = "EZgo9ykxrYuBMYnYmmKIh"