use new backend
This commit is contained in:
12
src/App.js
12
src/App.js
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user