Skip to content

Commit 3c8737b

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 382523d commit 3c8737b

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

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

0 commit comments

Comments
 (0)