fix(core): canvas font loading in desktop (#6025)

This commit is contained in:
Fangdun Tsai
2024-03-06 13:42:56 +08:00
committed by GitHub
parent 0ff1e8d2f7
commit 5d63ca0bab
4 changed files with 4 additions and 2 deletions
@@ -145,6 +145,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
: buildFlags.mode === 'development'
? true
: currentBuildPreset.allowLocalWorkspace,
isSelfHosted: process.env.SELF_HOSTED === 'true',
};
const testEnvironmentPreset = {