fix: mihoyo https, close #2321
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user