This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
express-engine/schematics/install/files
hapi-engine/schematics/install/files Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function app() {
3737
3838// Express server
3939function run ( ) {
40- const port : string | number = process . env . PORT || 4000 ;
40+ const port = process . env . PORT || 4000 ;
4141
4242 // Start up the Node server
4343 const server = app ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function app() {
3737
3838// Express server
3939function run ( ) {
40- const port : string | number = process . env . PORT || 4000 ;
40+ const port = process . env . PORT || 4000 ;
4141
4242 // Start up the Node server
4343 const server = app ( ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { AppServerModule } from './src/main.server';
1010
1111// The Hapi server is exported so that it can be used by serverless functions.
1212export async function app ( ) {
13- const port : string | number = process . env . PORT || 4000 ;
13+ const port = process . env . PORT || 4000 ;
1414 const distFolder = join ( process . cwd ( ) , 'dist/hapi-engine-ivy/browser' ) ;
1515 const server = new Server ( {
1616 port,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { AppServerModuleNgFactory } from './src/main.server';
1010
1111// The Hapi server is exported so that it can be used by serverless functions.
1212export async function app ( ) {
13- const port : string | number = process . env . PORT || 4000 ;
13+ const port = process . env . PORT || 4000 ;
1414 const distFolder = join ( process . cwd ( ) , 'dist/hapi-engine-ve/browser' ) ;
1515 const server = new Server ( {
1616 port,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function app() {
3737
3838// Express server
3939function run ( ) {
40- const port : string | number = process . env . PORT || < %= serverPort % > ;
40+ const port = process . env . PORT || < %= serverPort % > ;
4141
4242 // Start up the Node server
4343 const server = app ( ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { AppServerModule } from './src/<%= stripTsExtension(main) %>';
1010
1111// The Hapi server is exported so that it can be used by serverless functions.
1212export async function app ( ) {
13- const port : string | number = process . env . PORT || < %= serverPort % > ;
13+ const port = process . env . PORT || < %= serverPort % > ;
1414 const distFolder = join ( process . cwd ( ) , '<%= browserDistDirectory %>' ) ;
1515 const server = new Server ( {
1616 port,
You can’t perform that action at this time.
0 commit comments