1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-23 14:46:48 +09:00

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.provide(DI.serverMetadata, {}); // TODO
app.provide(DI.mediaProxy, new MediaProxy({}, url));
app.provide(DI.mediaProxy, new MediaProxy({
mediaProxy: 'https://example.com',
}, url));
loadTheme(applyTheme);
components(app);
directives(app);