Skip to content

Commit 5048d40

Browse files
committed
Fix preview url
1 parent 30aa13b commit 5048d40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ export const frameUrl = (
100100
) => {
101101
const path = append.indexOf('/') === 0 ? append.substr(1) : append;
102102

103-
// if (process.env.LOCAL_SERVER) {
104-
// return `http://localhost:3002/${path}`;
105-
// }
103+
if (process.env.LOCAL_SERVER) {
104+
return `http://localhost:3002/${path}`;
105+
}
106106

107107
if (process.env.STAGING) {
108108
return stagingFrameUrl(sandbox.id, path);

0 commit comments

Comments
 (0)