@blaxel/core 0.2.22 → 0.2.23-dev.168
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/sandbox/action.js +4 -2
- package/package.json +1 -1
package/dist/sandbox/action.js
CHANGED
|
@@ -66,8 +66,10 @@ class SandboxAction {
|
|
|
66
66
|
return (0, internal_js_1.getForcedUrl)('sandbox', this.name);
|
|
67
67
|
}
|
|
68
68
|
get url() {
|
|
69
|
-
if (this.forcedUrl)
|
|
70
|
-
|
|
69
|
+
if (this.forcedUrl) {
|
|
70
|
+
const url = this.forcedUrl.toString();
|
|
71
|
+
return url.endsWith('/') ? url.slice(0, -1) : url;
|
|
72
|
+
}
|
|
71
73
|
// Uncomment and use this when agent and mcp are available in mk3
|
|
72
74
|
// Update all requests made in this package to use fallbackUrl when internalUrl is not working
|
|
73
75
|
// if (settings.runInternalHostname) return this.internalUrl;
|