0
0
Fork 0

Disable push notification when not logged in (#19272)

This commit is contained in:
Yamagishi Kazutoshi 2022-10-04 01:15:47 +09:00 committed by GitHub
parent 37eaa7fc01
commit 216dbaedaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 74 additions and 47 deletions

View file

@ -4,8 +4,10 @@ import { start } from '../mastodon/common';
start();
loadPolyfills().then(() => {
require('../mastodon/main').default();
loadPolyfills().then(async () => {
const { default: main } = import('mastodon/main');
return main();
}).catch(e => {
console.error(e);
});