Skip to content

Commit

Permalink
release: v1.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Aug 29, 2024
1 parent f275f4d commit 72e54a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.12.3 (29 Aug 2024)

* fix: target.js cdn attribute

## 1.12.2 (29 Aug 2024)

* fix: firefox elements panel
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chii",
"version": "1.12.2",
"version": "1.12.3",
"description": "Chrome devtools framework",
"main": "./server/index.js",
"bin": {
Expand Down
5 changes: 2 additions & 3 deletions src/target/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ if (element) {
rtc = true;
}
cdn = element.getAttribute('cdn') || '';
cdn = rtrim(cdn, '/');
}

if (cdn && !endWith(cdn, '/')) {
cdn += '/';
if (cdn && endWith(cdn, '/')) {
cdn = rtrim(cdn, '/');
}

const sessionStore = safeStorage('session');
Expand Down

0 comments on commit 72e54a0

Please sign in to comment.