krawlet-js 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1122,7 +1122,7 @@ var WebsocketsResource = class {
|
|
|
1122
1122
|
} else if (trimmedPath.endsWith("/v1")) {
|
|
1123
1123
|
base.pathname = `${trimmedPath}/ws`;
|
|
1124
1124
|
} else {
|
|
1125
|
-
base.pathname = "/
|
|
1125
|
+
base.pathname = "/v1/ws";
|
|
1126
1126
|
}
|
|
1127
1127
|
base.search = "";
|
|
1128
1128
|
base.hash = "";
|
package/dist/index.js
CHANGED
|
@@ -1083,7 +1083,7 @@ var WebsocketsResource = class {
|
|
|
1083
1083
|
} else if (trimmedPath.endsWith("/v1")) {
|
|
1084
1084
|
base.pathname = `${trimmedPath}/ws`;
|
|
1085
1085
|
} else {
|
|
1086
|
-
base.pathname = "/
|
|
1086
|
+
base.pathname = "/v1/ws";
|
|
1087
1087
|
}
|
|
1088
1088
|
base.search = "";
|
|
1089
1089
|
base.hash = "";
|