File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ const { version } = require('../../package.json');
2323global . __rootdir = resolve ( fileURLToPath ( import . meta. url ) , '..' , '..' , '..' ) ;
2424
2525async function run ( args ) {
26- const devPort = process . env . AUDIT_WORKER_PORT || process . env . WEBSERVER_PORT || '4545' ;
27- process . env . WEBSERVER_PORT = devPort ;
28- process . env . HLX_DEV_SERVER_HOST = `localhost:${ devPort } ` ;
26+ process . env . HLX_DEV_SERVER_HOST = 'localhost:3000' ;
2927 process . env . HLX_DEV_SERVER_SCHEME = 'http' ;
3028
3129 let devServer ;
@@ -41,7 +39,6 @@ async function run(args) {
4139 devServer = new DevelopmentServer ( main ) ;
4240 }
4341 await devServer
44- . withPort ( Number ( devPort ) )
4542 . withHeader ( 'x-forwarded-host' , '' )
4643 . init ( ) ;
4744 await devServer . start ( ) ;
You can’t perform that action at this time.
0 commit comments