fix: mihoyo https, close #2321

This commit is contained in:
DIYgod 2019-06-05 11:03:19 +08:00
parent a47f2bd329
commit ba107f77c0
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const got = require('@/utils/got');
module.exports = async (ctx) => {
const url = 'http://www.mihoyo.com/news/getNotice';
const url = 'https://www.mihoyo.com/news/getNotice';
let type = ctx.params.type;
const typeArr = ['new', 'version', 'gach', 'event'];