2022-04-14 02:12:38 +03:00
|
|
|
import App from './components/App.svelte';
|
2022-04-14 16:56:01 +03:00
|
|
|
import gateway from './gateway';
|
|
|
|
import { initStorageDefaults } from './storage';
|
|
|
|
|
|
|
|
initStorageDefaults();
|
|
|
|
gateway.init();
|
2022-04-14 00:31:03 +03:00
|
|
|
|
2022-04-17 20:23:20 +03:00
|
|
|
// Remove loading screen
|
|
|
|
const loadingElement = document.getElementById("pre--loading-screen");
|
|
|
|
if (loadingElement) {
|
|
|
|
loadingElement.parentElement.removeChild(loadingElement);
|
|
|
|
}
|
|
|
|
|
2022-04-14 00:31:03 +03:00
|
|
|
const app = new App({
|
|
|
|
target: document.body
|
|
|
|
});
|
|
|
|
|
|
|
|
export default app;
|