Skip to content

Commit

Permalink
fix(app): whitelist more new domains in strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 authored Jun 26, 2023
1 parent 48beea2 commit 90ec0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ global.hosts = target.reduce(
(result, host) => Object.assign(result, { [host]: config.forceHost }),
{}
);
server.whitelist = ['://[\\w.]*music\\.126\\.net', '://[\\w.]*vod\\.126\\.net'];
server.whitelist = ['://[\\w.]*music\\.126\\.net', '://[\\w.]*vod\\.126\\.net', '://acstatic-dun.126.net', '://[\\w.]*\\.netease.com', '://[\\w.]*\\.163yun.com'];
global.cnrelay = config.cnrelay;
if (config.strict) server.blacklist.push('.*');
server.authentication = config.token || null;
Expand Down

0 comments on commit 90ec0ba

Please sign in to comment.