Changesets · Branches · Tags · Compare
| Changeset | 0f7346762a03d78da5c5b83dc73bbd55444f041f15bf384ad4e763b47162f332 |
|---|---|
| Author | tommypurcell <tommypurcelljr@gmail.com> · 2025-09-20 00:15 -07:00 |
| Committer | tommypurcell <tommypurcelljr@gmail.com> · 2025-09-20 00:15 -07:00 |
| Parents | 21a32b8e3b8e |
1 file changed
modified core/core.ts +4 −0
| @@ -458,6 +458,10 @@ | ||
| 458 | 458 | |
| 459 | 459 | on("controlPlane/openUrl", async (msg) => { |
| 460 | 460 | const env = await getControlPlaneEnv(this.ide.getIdeSettings()); |
| 461 | + if (msg.data.path.startsWith("http")) { | |
| 462 | + await this.messenger.request("openUrl", msg.data.path); | |
| 463 | + return; | |
| 464 | + } | |
| 461 | 465 | const urlPath = msg.data.path.startsWith("/") |
| 462 | 466 | ? msg.data.path.slice(1) |
| 463 | 467 | : msg.data.path; |