Separate the user configurable section

This commit is contained in:
Mark Felder 2020-05-13 14:43:36 -05:00
parent 98d332793c
commit a4a25105ba
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,9 @@ import { CURRENT_VERSION } from '../services/theme_data/theme_data.service.js'
import { instanceDefaultProperties } from './config.js' import { instanceDefaultProperties } from './config.js'
const defaultState = { const defaultState = {
// not user configurable
name: 'Pleroma FE',
// Stuff from static/config.json and apiConfig // Stuff from static/config.json and apiConfig
alwaysShowSubjectInput: true, alwaysShowSubjectInput: true,
background: '/static/aurora_borealis.jpg', background: '/static/aurora_borealis.jpg',
@ -19,7 +22,6 @@ const defaultState = {
logoMargin: '.2em', logoMargin: '.2em',
logoMask: true, logoMask: true,
minimalScopesMode: false, minimalScopesMode: false,
name: 'Pleroma FE',
nsfwCensorImage: undefined, nsfwCensorImage: undefined,
postContentType: 'text/plain', postContentType: 'text/plain',
redirectRootLogin: '/main/friends', redirectRootLogin: '/main/friends',