forked from Gitlink/forgeplus-react
资源库接口地址是另一个服务器
This commit is contained in:
parent
d73e127f3d
commit
3701abc2c9
|
@ -68,7 +68,7 @@ export function initAxiosInterceptors(props) {
|
|||
setpostcookie()
|
||||
clearAllCookie()
|
||||
|
||||
if (config.url.indexOf(proxy) !== -1) {
|
||||
if (config.url.indexOf(proxy) !== -1 || config.url.indexOf("http") !== -1) {
|
||||
return config
|
||||
}
|
||||
requestProxy(config)
|
||||
|
|
|
@ -16,7 +16,7 @@ const sort = [
|
|||
"按引用排序"
|
||||
]
|
||||
const limit = 15;
|
||||
const https = 'https://testfiles.trustie.net';
|
||||
const https = 'http://117.50.100.12:8001';
|
||||
function Index(props){
|
||||
const [ sortValue , setSortValue ] = useState(0);
|
||||
const [ page , setPage ] = useState(1);
|
||||
|
|
|
@ -5,7 +5,7 @@ import { AlignCenter } from '../Component/layout';
|
|||
import axios from 'axios';
|
||||
const { TextArea } = Input;
|
||||
|
||||
const https = 'https://testfiles.trustie.net';
|
||||
const https = 'http://117.50.100.12:8001';
|
||||
function UploadSource({ form , visible , onCancel , onOk , showNotification , attachments , id ,owner,projectsId}){
|
||||
const [ tableData , setTableData ] = useState(undefined);
|
||||
const [ fileId , setFilesId ] = useState(undefined);
|
||||
|
|
Loading…
Reference in New Issue