use new backend

This commit is contained in:
xmcp
2019-08-07 15:07:55 +08:00
parent acdf8664d9
commit b17b792f97
4 changed files with 3 additions and 25 deletions

View File

@@ -3,20 +3,10 @@ import {Flow} from './Flows';
import {Title} from './Title';
import {Sidebar} from './Sidebar';
import {PressureHelper} from './PressureHelper';
import {TokenCtx,ISOP_APPKEY} from './UserAction';
import {TokenCtx} from './UserAction';
import {load_config,bgimg_style} from './Config';
function DeprecatedAlert(props) {
if(document.domain==='hole.xmcp.ml')
return (
<div className="flow-item">
<div className="box box-tip">
<p><b>请使用新域名访问P大树洞</b></p>
<p><a href="http://pkuhelper.pku.edu.cn/hole/">pkuhelper.pku.edu.cn/hole</a></p>
<p>当前域名将停止支持</p>
</div>
</div>
);
return null;
}