[Glitch] Updates Wrapstodon footer with dedicated local server info
Port e6b0cdcc83 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
fbacb5ae7a
commit
cfc64a2ea9
4 files changed
+74
-37
No files matched your search
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user