mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(instance): make the status page URL configurable (#1159)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user