Skip to content

Commit

Permalink
兼容大陆版coze.cn
Browse files Browse the repository at this point in the history
  • Loading branch information
elaninhust committed May 24, 2024
1 parent abe6b79 commit bd65ad5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ function generateManifest(
'*://*.coze.com/space/*/bot/*',
'*://*.coze.com/space/*/bot',
'*://*.coze.com/explore/*',
'*://*.coze.cn/*',
'*://*.coze.cn/space/*/bot/*',
'*://*.coze.cn/space/*/bot',
'*://*.coze.cn/explore/*',
],
js: ['src/pages/content/index.js'],
// KEY for cache invalidation
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "coze-beautify",
"description": "this is a chrome extension named coze-beautify.",
"private": true,
"version": "1.1.1",
"version": "1.1.2",
"type": "module",
"scripts": {
"dev": "npm run build:hmr && (run-p wss build:watch)",
Expand Down
10 changes: 7 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "coze-beautify",
"version": "1.1.1",
"version": "1.1.2",
"description": "this is a chrome extension named coze-beautify.",
"permissions": ["storage"],
"icons": {
Expand All @@ -24,10 +24,14 @@
"*://*.coze.com/*",
"*://*.coze.com/space/*/bot/*",
"*://*.coze.com/space/*/bot",
"*://*.coze.com/explore/*"
"*://*.coze.com/explore/*",
"*://*.coze.cn/*",
"*://*.coze.cn/space/*/bot/*",
"*://*.coze.cn/space/*/bot",
"*://*.coze.cn/explore/*"
],
"js": ["src/pages/content/index.js"],
"css": ["assets/css/contentStyle17143585215.chunk.css"]
"css": ["assets/css/contentStyle17165398799.chunk.css"]
}
]
}

0 comments on commit bd65ad5

Please # to comment.