Skip to content

Commit 83b73f7

Browse files
committed
Work
1 parent bdef2eb commit 83b73f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/app/src/app/vscode/dev-bootstrap.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import * as child_process from 'node-services/lib/child_process';
33
import * as net from 'node-services/lib/net';
44
import electron from 'node-services/lib/electron';
55

6-
import { host } from 'common/utils/url-generator';
7-
86
import { METADATA } from './metadata';
97

108
const PREFIX = '/vs';
@@ -236,7 +234,8 @@ export default function(requiredModule: string) {
236234
return resolvedPath;
237235
};
238236
Component.prototype.generateLoaderConfig = function(dest) {
239-
dest[this.modulePrefix] = host() + this.getResolvedPath();
237+
dest[this.modulePrefix] =
238+
process.env.CODESANDBOX_HOST + this.getResolvedPath();
240239
};
241240
Component.prototype.generateUrlForPath = function(pathName) {
242241
var NEW_LOADER_OPTS = {};

0 commit comments

Comments
 (0)