Skip to content

Commit 49e87d3

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 d64016f commit 49e87d3

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
@@ -44,6 +44,9 @@ export class DefaultAppConfig implements AppConfig {
4444
port: 4000,
4545
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
4646
nameSpace: '/',
47+
// Specify the public URL that this user interface responds to. This corresponds to the "dspace.ui.url" property in your backend's local.cfg.
48+
// The baseUrl is used for redirects and SEO links (in robots.txt).
49+
baseUrl: 'http://localhost:4000',
4750

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

0 commit comments

Comments
 (0)