fix: 修复沙盒越权 (#2320)

升级yapi版本到 1.9.3,更新版本接口
This commit is contained in:
ariesly15 2021-08-25 14:44:28 +08:00 committed by GitHub
parent 3870c5f91d
commit 3de66a6187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@ export default class Notify extends Component {
}
componentDidMount() {
axios.get('https://www.easy-mock.com/mock/5c2851e3d84c733cb500c3b9/yapi/versions').then(req => {
const versions = 'https://www.fastmock.site/mock/1529fa78fa4c4880ad153d115084a940/yapi/versions';
axios.get(versions).then(req => {
if (req.status === 200) {
this.setState({ newVersion: req.data.data[0] });
} else {

View File

@ -1,6 +1,6 @@
{
"name": "yapi-vendor",
"version": "1.9.2",
"version": "1.9.3",
"description": "YAPI",
"main": "server/app.js",
"scripts": {