mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
Update preview.ts
This commit is contained in:
parent
982cee4ea9
commit
f4863524d7
@ -13,6 +13,7 @@ import locale from './locale.js';
|
|||||||
import { commonHandlers, onUnhandledRequest } from './mocks.js';
|
import { commonHandlers, onUnhandledRequest } from './mocks.js';
|
||||||
import themes from './themes.js';
|
import themes from './themes.js';
|
||||||
import '../src/style.scss';
|
import '../src/style.scss';
|
||||||
|
import { DI } from '../src/di.js';
|
||||||
|
|
||||||
const appInitialized = Symbol();
|
const appInitialized = Symbol();
|
||||||
|
|
||||||
@ -77,6 +78,7 @@ queueMicrotask(() => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
app[appInitialized] = true;
|
app[appInitialized] = true;
|
||||||
|
app.provide(DI.serverMetadata, {}); // TODO
|
||||||
loadTheme(applyTheme);
|
loadTheme(applyTheme);
|
||||||
components(app);
|
components(app);
|
||||||
directives(app);
|
directives(app);
|
||||||
|
Loading…
Reference in New Issue
Block a user