File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/app/src/app/vscode Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import * as child_process from 'node-services/lib/child_process';
33import * as net from 'node-services/lib/net' ;
44import electron from 'node-services/lib/electron' ;
55
6- import { host } from 'common/utils/url-generator' ;
7-
86import { METADATA } from './metadata' ;
97
108const 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 = { } ;
You can’t perform that action at this time.
0 commit comments