Update preview.ts

This commit is contained in:
syuilo 2024-09-08 19:44:23 +09:00
parent 5c0ce01dbd
commit 12bab1c6fb

View file

@ -81,7 +81,9 @@ queueMicrotask(() => {
} }
app[appInitialized] = true; app[appInitialized] = true;
app.provide(DI.serverMetadata, {}); // TODO app.provide(DI.serverMetadata, {}); // TODO
app.provide(DI.mediaProxy, new MediaProxy({}, url)); app.provide(DI.mediaProxy, new MediaProxy({
mediaProxy: 'https://example.com',
}, url));
loadTheme(applyTheme); loadTheme(applyTheme);
components(app); components(app);
directives(app); directives(app);