mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 17:14:15 -05:00
14 lines
286 B
JavaScript
14 lines
286 B
JavaScript
import './public-path';
|
|
import { loadPolyfills } from '../mastodon/polyfills';
|
|
import { start } from '../mastodon/common';
|
|
|
|
start();
|
|
|
|
loadPolyfills().then(async () => {
|
|
const { default: main } = await import('mastodon/main');
|
|
|
|
return main();
|
|
}).catch(e => {
|
|
console.error(e);
|
|
});
|