File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import bodyParser from 'body-parser';
44
55var app = express ( ) ;
66
7- var port = process . env . PORT || '80' ;
8- var hostname = process . env . HOST || '0.0.0.0' ;
97var bodySizeLimit = process . env . MAX_BODY_SIZE || '100kb' ;
108
119// parse JSONAPI content type
Original file line number Diff line number Diff line change 2323 "arguments" : []
2424 },
2525 "environment" : {
26- "image" : " semtech/mu-javascript-template:feature-dev-experience-tryouts " ,
26+ "image" : " semtech/mu-javascript-template:feature-seperate-server-start " ,
2727 "interactive" : false ,
2828 "script" : " setup-ide/run.sh"
2929 },
Original file line number Diff line number Diff line change 1- import { app } from "mu" ;
2- import "./app.js" ;
3- var port = process . env . PORT || "80" ;
4- var hostname = process . env . HOST || "0.0.0.0" ;
1+ import { app } from 'mu' ;
2+ import './app.js' ;
3+
4+ var port = process . env . PORT || '80' ;
5+ var hostname = process . env . HOST || '0.0.0.0' ;
6+
57// start server
68app . listen ( port , hostname , function ( ) {
7- console . log (
8- `Starting server on ${ hostname } :${ port } in ${ app . get ( "env" ) } mode`
9- ) ;
9+ console . log ( `Starting server on ${ hostname } :${ port } in ${ app . get ( 'env' ) } mode` ) ;
1010} ) ;
You can’t perform that action at this time.
0 commit comments