Skip to content

Commit 7154bc0

Browse files
authored
Merge pull request #4717 from DSpace/backport-4634-to-dspace-7_x
[Port dspace-7_x] server.ts: remove port and host fallbacks in run
2 parents 42419d1 + 65cd1df commit 7154bc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@ function createHttpsServer(keys) {
559559
* Create an HTTP server with the configured port and host.
560560
*/
561561
function run() {
562-
const port = environment.ui.port || 4000;
563-
const host = environment.ui.host || '/';
562+
const port = environment.ui.port;
563+
const host = environment.ui.host;
564564

565565
// Start up the Node server
566566
const server = app();

0 commit comments

Comments
 (0)