preload app css (#8752)

This commit is contained in:
tamaina
2022-05-29 10:57:06 +09:00
committed by GitHub
parent e54aa56ee1
commit 4917961736
3 changed files with 23 additions and 15 deletions

View File

@@ -46,7 +46,7 @@ export default function load() {
mixin.authUrl = `${mixin.scheme}://${mixin.host}/auth`;
mixin.driveUrl = `${mixin.scheme}://${mixin.host}/files`;
mixin.userAgent = `Misskey/${meta.version} (${config.url})`;
mixin.clientEntry = clientManifest['src/init.ts'].file.replace(/^_client_dist_\//, '');
mixin.clientEntry = clientManifest['src/init.ts'];
if (!config.redis.prefix) config.redis.prefix = mixin.host;