Updates Wrapstodon footer with dedicated local server info (#37270)

This commit is contained in:
diondiondion
2025-12-16 16:35:26 +01:00
committed by GitHub
parent 7e81e03531
commit e6b0cdcc83
6 changed files with 78 additions and 38 deletions

View File

@@ -25,7 +25,7 @@ function loaded() {
const initialState = JSON.parse(
propsNode.textContent,
) as ApiAnnualReportResponse & { me?: string };
) as ApiAnnualReportResponse & { me?: string; domain: string };
const report = initialState.annual_reports[0];
if (!report) {
@@ -38,6 +38,7 @@ function loaded() {
meta: {
locale: document.documentElement.lang,
me: initialState.me,
domain: initialState.domain,
},
accounts: initialState.accounts,
}),