Skip to content

Commit 01116c7

Browse files
author
Ives van Hoorne
committed
Update URL
1 parent 1899a81 commit 01116c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/sandpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "smooshpack",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "",
55
"keywords": [],
66
"main": "dist/sandpack.umd.js",

packages/sandpack/src/manager/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface ISandboxInfo {
5858
const BUNDLER_URL =
5959
process.env.CODESANDBOX_ENV === 'development'
6060
? 'http://localhost:3001'
61-
: `https://sandpack-${version}.codesandbox.io`;
61+
: `https://sandpack-${version.replace(/\./g, '-')}.codesandbox.io`;
6262

6363
export default class PreviewManager {
6464
selector: string | undefined;

0 commit comments

Comments
 (0)