Fix accidentally importing vanilla code in glitch-soc flavor (#1863)
This commit is contained in:
@ -30,7 +30,7 @@ function main() {
|
||||
if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
|
||||
const [{ Workbox }, { me }] = await Promise.all([
|
||||
import('workbox-window'),
|
||||
import('mastodon/initial_state'),
|
||||
import('flavours/glitch/initial_state'),
|
||||
]);
|
||||
|
||||
const wb = new Workbox('/sw.js');
|
||||
|
Reference in New Issue
Block a user