Skip to content

Commit

Permalink
Merge pull request #3 from xty/alternative-domains
Browse files Browse the repository at this point in the history
Add support for alternative domains
  • Loading branch information
lqzhgood authored Aug 18, 2023
2 parents 26fc4ad + 474d2ca commit c1e879f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
5 changes: 4 additions & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "wechat-need-web",
"author": "lqzh",
"homepage_url": "https://github.com/lqzhgood/wechat-need-web",
"version": "1.0.0",
"version": "1.0.1",
"description": "Allow the use of WeChat via webpage access",
"permissions": [
"declarativeNetRequest"
Expand All @@ -25,7 +25,10 @@
},
"host_permissions": [
"https://wx.qq.com/*",
"https://web.weixin.qq.com/*",
"https://web.wechat.com/*",
"https://web1.wechat.com/*",
"https://web2.wechat.com/*",
"https://wx2.qq.com/*",
"https://wx8.qq.com/*"
],
Expand Down
19 changes: 7 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechat-need-web",
"version": "1.0.0",
"version": "1.0.1",
"description": "Allow WeChat to access the webpage.",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export const WECHAT_HEADERS: Readonly<{

export const WECHAT_URLS: Readonly<string[]> = [
"https://wx.qq.com/*",
"https://web.weixin.qq.com/*",
"https://web.wechat.com/*",
"https://web1.wechat.com/*",
"https://web2.wechat.com/*",
"https://wx2.qq.com/*",
"https://wx8.qq.com/*",
];
Expand Down

0 comments on commit c1e879f

Please sign in to comment.