X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fconfig.ts;h=38c521ecebd2772e968457419d55c90c85e36715;hb=7eddc52c1302a1f0d7189576ace44957d6b42d2a;hp=c56c64b0c2c3f1afce182f3598d1afebf432f1c5;hpb=a9bcf0567d815afcfbe1775bff3dc1eea66c1c18;p=lemmy-ui.git diff --git a/src/shared/config.ts b/src/shared/config.ts index c56c64b..38c521e 100644 --- a/src/shared/config.ts +++ b/src/shared/config.ts @@ -1,5 +1,7 @@ -export const favIconUrl = "/static/assets/icons/favicon.svg"; -export const favIconPngUrl = "/static/assets/icons/apple-touch-icon.png"; +import { getStaticDir } from "@utils/env"; + +export const favIconUrl = `${getStaticDir()}/assets/icons/favicon.svg`; +export const favIconPngUrl = `${getStaticDir()}/assets/icons/apple-touch-icon.png`; export const repoUrl = "https://github.com/LemmyNet"; export const joinLemmyUrl = "https://join-lemmy.org"; @@ -21,9 +23,10 @@ export const markdownFieldCharacterLimit = 50000; export const maxUploadImages = 20; export const concurrentImageUpload = 4; export const updateUnreadCountsInterval = 30000; -export const fetchLimit = 40; +export const fetchLimit = 20; export const relTags = "noopener nofollow"; export const emDash = "\u2014"; +export const authCookieName = "jwt"; /** * Accepted formats: