mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
server.ts: remove port fallback
If a user has messed up their config so much that the fallbacks in
our default configuration interface don't work then we should just
fail here.
(cherry picked from commit 6c09677510
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
9a3987bce1
commit
f6f8e078dd
@@ -560,7 +560,7 @@ 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
|
||||||
|
Reference in New Issue
Block a user