feat(instance): make the status page URL configurable (#1159)

This commit is contained in:
Tarek authored and GitHub committed 2026-09-16 15:20:37 +02:00
1 parent 7412ec3395
commit f753659899
58 files changed
+1192 -904

No files matched your search

@@ -144,6 +144,8 @@ export const DEFAULT_APP_PUBLIC_CONFIG: InstanceAppPublic = {
wordmark_url: null,
favicon_url: null,
theme_color: null,
status_page_url: null,
status_page_incident_history_url: null,
},
setup: {
configured: false,
@@ -480,6 +482,14 @@ class RuntimeConfig {
}
}
get statusPageUrl(): string {
return this.appPublic.branding.status_page_url ?? '';
}
get statusPageIncidentHistoryUrl(): string {
return this.appPublic.branding.status_page_incident_history_url ?? '';
}
isSelfHosted(): boolean {
return DeveloperOptions.selfHostedModeOverride || this.features.self_hosted;
}