This commit is contained in:
syuilo
2018-08-19 21:07:18 +09:00
parent c9de5b65d4
commit bb925e5de3
23 changed files with 45 additions and 51 deletions

View File

@ -33,7 +33,7 @@ export default () => new Promise(async (res, rej) => {
},
broadcasts: meta.broadcasts,
disableRegistration: meta.disableRegistration,
recaptchaSitekey: config.recaptcha.site_key,
swPublickey: config.sw.public_key
recaptchaSitekey: config.recaptcha ? config.recaptcha.site_key : null,
swPublickey: config.sw ? config.sw.public_key : null
});
});