Skip to content

Commit fea687c

Browse files
committed
build: 📦 upgrade packages
1 parent febab33 commit fea687c

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fileignoreconfig:
22
- filename: package-lock.json
3-
checksum: aa5b9339b246c4f5af2b9f59ec2fca2056830b2e6c3ffb20b2d2d6b17b81e4ab
3+
checksum: ebafc1a55b01b2259dacb35e2c286ad88c811974c6955d379be3205abbf1c7ff
44
version: ""

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"axios": "^1.7.2",
2222
"axios-mock-adapter": "^1.22.0",
2323
"lodash": "^4.17.21",
24-
"qs": "^6.12.1",
25-
"tslib": "^2.6.2"
24+
"qs": "^6.13.0",
25+
"tslib": "^2.6.3"
2626
},
2727
"files": [
2828
"dist/*",

src/lib/request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export async function getData(instance: AxiosInstance, url: string, data?: any)
1515
}
1616

1717
if (livePreviewParams.enable && livePreviewParams.live_preview && livePreviewParams.live_preview !== 'init') {
18-
if (livePreviewParams.host.split(0, 8) == 'https://') {
18+
// adds protocol so host is replaced and not appended
19+
if (livePreviewParams.host.split(0, 8) === 'https://') {
1920
instance.defaults.baseURL = livePreviewParams.host;
2021
} else {
2122
instance.defaults.baseURL = 'https://' + livePreviewParams.host;

0 commit comments

Comments
 (0)