mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 12:48:07 +01:00
4c45b43cb8
* Change how CDN_HOST is passed down to make assets build reproducible * Change webpacker/webpack configuration to dynamically load publicPath based on meta header * Fix embedded layout missing the cdn-host meta header
11 lines
245 B
JavaScript
11 lines
245 B
JavaScript
import './public-path';
|
|
import loadPolyfills from '../mastodon/load_polyfills';
|
|
import { start } from '../mastodon/common';
|
|
|
|
start();
|
|
|
|
loadPolyfills().then(() => {
|
|
require('../mastodon/main').default();
|
|
}).catch(e => {
|
|
console.error(e);
|
|
});
|