mirror of https://github.com/yb/uptime-status
Display ICP License
parent
bb67f7f2a7
commit
25e5229498
|
@ -33,4 +33,7 @@ window.Config = {
|
|||
url: 'https://abo.xyz/'
|
||||
},
|
||||
],
|
||||
|
||||
// 页脚ICP备案信息(留空不显示)
|
||||
IcpLicense: '',
|
||||
};
|
||||
|
|
|
@ -13,6 +13,8 @@ function App() {
|
|||
return [];
|
||||
}, []);
|
||||
|
||||
const { IcpLicense } = window.Config;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
|
@ -23,6 +25,7 @@ function App() {
|
|||
))}
|
||||
</div>
|
||||
<div id='footer'>
|
||||
<p><Link to='https://beian.miit.gov.cn/' text={IcpLicense} /></p>
|
||||
<p>基于 <Link to='https://uptimerobot.com/' text='UptimeRobot' /> 接口制作,检测频率 5 分钟</p>
|
||||
<p>© 2020 <Link to='https://status.org.cn/' text='STATUS.ORG.CN' />, Version {Package.version}</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue