mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
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
This commit is contained in:
@@ -559,8 +559,8 @@ function createHttpsServer(keys) {
|
|||||||
* Create an HTTP server with the configured port and host.
|
* Create an HTTP server with the configured port and host.
|
||||||
*/
|
*/
|
||||||
function run() {
|
function run() {
|
||||||
const port = environment.ui.port || 4000;
|
const port = environment.ui.port;
|
||||||
const host = environment.ui.host || '/';
|
const host = environment.ui.host;
|
||||||
|
|
||||||
// Start up the Node server
|
// Start up the Node server
|
||||||
const server = app();
|
const server = app();
|
||||||
|
Reference in New Issue
Block a user