Skip to content

Commit c281d40

Browse files
committed
Fix issue where ui.baseUrl cannot be overridden in environment variables because it's not listed in default-app-config.ts
1 parent 3aca764 commit c281d40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/config/default-app-config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ export class DefaultAppConfig implements AppConfig {
5252
port: 4000,
5353
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
5454
nameSpace: '/',
55+
// Specify the public URL that this user interface responds to. This corresponds to the "dspace.ui.url" property in your backend's local.cfg.
56+
// SSR is only enabled when the client's "Host" HTTP header matches this baseUrl. The baseUrl is also used for redirects and SEO links (in robots.txt).
57+
baseUrl: 'http://localhost:4000',
5558

5659
// The rateLimiter settings limit each IP to a 'limit' of 500 requests per 'windowMs' (1 minute).
5760
rateLimiter: {

0 commit comments

Comments
 (0)