修复任务日志二维码展示,pushplus使用https

This commit is contained in:
hanhh 2021-06-05 11:27:51 +08:00
parent 73642ba11d
commit 42c71f4b8b
2 changed files with 4 additions and 2 deletions

View File

@ -689,7 +689,7 @@ function pushPlusNotify(text, desp) {
topic: `${PUSH_PLUS_USER}`,
};
const options = {
url: `http://www.pushplus.plus/send`,
url: `https://www.pushplus.plus/send`,
body: JSON.stringify(body),
headers: {
'Content-Type': ' application/json',

View File

@ -100,7 +100,9 @@ const CronLogModal = ({
onCancel={() => cancel()}
>
{!loading && value && (
<pre style={{ whiteSpace: 'break-spaces' }}>{value}</pre>
<pre style={{ whiteSpace: 'break-spaces', lineHeight: 17 }}>
{value}
</pre>
)}
</Modal>
);