Skip to content

Commit cbbebac

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 ddec533 commit cbbebac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/config/default-app-config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export class DefaultAppConfig implements AppConfig {
4646
port: 4000,
4747
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
4848
nameSpace: '/',
49+
// Specify the public URL that this user interface responds to. This corresponds to the "dspace.ui.url" property in your backend's local.cfg.
50+
// 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).
51+
baseUrl: 'http://localhost:4000',
4952

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

0 commit comments

Comments
 (0)