chore: reduce load
This commit is contained in:
parent
aa9d6662f1
commit
eba4c19008
@ -139,6 +139,12 @@ export interface LoginStore {
|
|||||||
preferences: UserPreferences
|
preferences: UserPreferences
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const DefaultImgProxy = {
|
||||||
|
url: "https://imgproxy.snort.social",
|
||||||
|
key: "a82fcf26aa0ccb55dfc6b4bd6a1c90744d3be0f38429f21a8828b43449ce7cebe6bdc2b09a827311bef37b18ce35cb1e6b1c60387a254541afa9e5b4264ae942",
|
||||||
|
salt: "a897770d9abf163de055e9617891214e75a9016d748f8ef865e6ffbcb9ed932295659549773a22a019a5f06d0b440c320be411e3fddfe784e199e4f03d74bd9b"
|
||||||
|
};
|
||||||
|
|
||||||
export const InitState = {
|
export const InitState = {
|
||||||
loggedOut: undefined,
|
loggedOut: undefined,
|
||||||
publicKey: undefined,
|
publicKey: undefined,
|
||||||
@ -155,18 +161,14 @@ export const InitState = {
|
|||||||
dms: [],
|
dms: [],
|
||||||
dmInteraction: 0,
|
dmInteraction: 0,
|
||||||
preferences: {
|
preferences: {
|
||||||
enableReactions: true,
|
enableReactions: false,
|
||||||
autoLoadMedia: true,
|
autoLoadMedia: true,
|
||||||
theme: "system",
|
theme: "system",
|
||||||
confirmReposts: false,
|
confirmReposts: false,
|
||||||
showDebugMenus: false,
|
showDebugMenus: false,
|
||||||
autoShowLatest: false,
|
autoShowLatest: false,
|
||||||
fileUploader: "void.cat",
|
fileUploader: "void.cat",
|
||||||
imgProxyConfig: {
|
imgProxyConfig: null
|
||||||
url: "https://imgproxy.snort.social",
|
|
||||||
key: "a82fcf26aa0ccb55dfc6b4bd6a1c90744d3be0f38429f21a8828b43449ce7cebe6bdc2b09a827311bef37b18ce35cb1e6b1c60387a254541afa9e5b4264ae942",
|
|
||||||
salt: "a897770d9abf163de055e9617891214e75a9016d748f8ef865e6ffbcb9ed932295659549773a22a019a5f06d0b440c320be411e3fddfe784e199e4f03d74bd9b"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} as LoginStore;
|
} as LoginStore;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user