mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 12:30:03 +00: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);
|
|
});
|