fix?
This commit is contained in:
parent
8d345bbad9
commit
1b21b7d30e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const afterStoreSetup = ({ store, i18n }) => {
|
|||
window.fetch('/api/statusnet/config.json')
|
||||
.then((res) => res.json())
|
||||
.then((data) => {
|
||||
const { name, closed: registrationClosed, textlimit, uploadlimit, server, vapidPublicKey } = data.site
|
||||
const { name, closed: registrationClosed, textlimit, uploadlimit = 99999999999999999, server, vapidPublicKey } = data.site
|
||||
|
||||
store.dispatch('setInstanceOption', { name: 'name', value: name })
|
||||
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: (registrationClosed === '0') })
|
||||
|
|
Loading…
Add table
Reference in a new issue