1
0
forked from mirror/misskey

Fix error

This commit is contained in:
syuilo 2018-12-19 06:47:47 +09:00
parent 47bd485a39
commit b8aad35009
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
cacheRemoteFiles: instance.cacheRemoteFiles,
enableRecaptcha: instance.enableRecaptcha,
recaptchaSiteKey: instance.recaptchaSiteKey,
swPublickey: config.sw ? config.sw.public_key : null,
swPublickey: null,
bannerUrl: instance.bannerUrl,
errorImageUrl: instance.errorImageUrl,
maxNoteTextLength: instance.maxNoteTextLength,

View File

@ -34,7 +34,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
if (exist != null) {
return res({
state: 'already-subscribed',
key: config.sw.public_key
key: config.sw.publicKey
});
}
@ -47,6 +47,6 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
res({
state: 'subscribed',
key: config.sw.public_key
key: config.sw.publicKey
});
}));