Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ export type AutoDiscoveryInfo = Record<string, unknown> & {
export const autoDiscovery = async (
request: typeof fetch,
server: string
server: string,
): Promise<[AutoDiscoveryError, undefined] | [undefined, AutoDiscoveryInfo]> => {
const host = /^https?:\/\//.test(server) ? trimTrailingSlash(server) : `https://${server}`;
const autoDiscoveryUrl = `${host}/.well-known/matrix/client`;
@@ -89,7 +89,7 @@ export const autoDiscovery = async (
content['m.homeserver'].base_url = trimTrailingSlash(baseUrl);
if (content['m.identity_server']) {
content['m.identity_server'].base_url = trimTrailingSlash(
content['m.identity_server'].base_url
content['m.identity_server'].base_url,
);
}
@@ -102,7 +102,7 @@ export type SpecVersions = {
};
export const specVersions = async (
request: typeof fetch,
baseUrl: string
baseUrl: string,
): Promise<SpecVersions> => {
const res = await request(`${trimTrailingSlash(baseUrl)}/_matrix/client/versions`);