1 parent
56ac2631b5
commit
04a9b37c6f
3 files changed
+93
-30
No files matched your search
@@ -100,10 +100,13 @@ interface Settings {
|
||||
logoColorMonth: number | null
|
||||
|
||||
absoluteDates: boolean
|
||||
messages: {
|
||||
fullMarkdown: boolean
|
||||
}
|
||||
}
|
||||
|
||||
export const defaultSettings: Settings = {
|
||||
settingsVer: 5,
|
||||
settingsVer: 6,
|
||||
expandableImages: toBool(env.PUBLIC_EXPANDABLE_IMAGES) ?? true,
|
||||
markReadPosts: toBool(env.PUBLIC_MARK_READ_POSTS) ?? true,
|
||||
showInstances: {
|
||||
@@ -176,6 +179,9 @@ export const defaultSettings: Settings = {
|
||||
parseTags: true,
|
||||
logoColorMonth: null,
|
||||
absoluteDates: false,
|
||||
messages: {
|
||||
fullMarkdown: toBool(env.PUBLIC_FULL_MARKDOWN) ?? false,
|
||||
},
|
||||
}
|
||||
|
||||
function createSettingsState(initial: Settings): Settings {
|
||||
|
||||
Reference in new issue
Block a user