fix: mihoyo https, close #2321
This commit is contained in:
parent
a47f2bd329
commit
ba107f77c0
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue