Skip to content

Commit b22bded

Browse files
authored
Enable csb.app for preview (codesandbox#2201)
1 parent 74d389d commit b22bded

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/common/src/utils/url-generator.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,9 @@ export const frameUrl = (sandbox: Sandbox, append: string = '') => {
105105
}
106106

107107
let sHost = host();
108-
// disable sandbox host for now because of .dev issues
109-
// if (`https://${sHost}` in sandboxHost) {
110-
// sHost = sandboxHost[`https://${sHost}`].split('//')[1];
111-
// }
108+
if (`https://${sHost}` in sandboxHost) {
109+
sHost = sandboxHost[`https://${sHost}`].split('//')[1];
110+
}
112111
return `${location.protocol}//${sandbox.id}.${sHost}/${path}`;
113112
};
114113

0 commit comments

Comments
 (0)