Skip to content

Commit dcbbb6c

Browse files
authored
Merge pull request DSpace#4718 from DSpace/backport-4634-to-dspace-8_x
[Port dspace-8_x] server.ts: remove port and host fallbacks in run
2 parents b67a703 + ed4f5d4 commit dcbbb6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ function createHttpsServer(keys) {
561561
* Create an HTTP server with the configured port and host.
562562
*/
563563
function run() {
564-
const port = environment.ui.port || 4000;
565-
const host = environment.ui.host || '/';
564+
const port = environment.ui.port;
565+
const host = environment.ui.host;
566566

567567
// Start up the Node server
568568
const server = app();

0 commit comments

Comments
 (0)