Fix preview config defaults (#5804)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-06-13 18:36:50 +07:00 committed by GitHub
parent a596f468ea
commit ca305f21d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ export function startFront (ctx: MeasureContext, extraConfig?: Record<string, st
if (previewConfig === undefined) {
// Use universal preview config
previewConfig = `*|${uploadUrl}/:workspace?file=:file.:format&size=:size`
previewConfig = `*|${uploadUrl}/:workspace?file=:blobId.:format&size=:size`
}
const brandingUrl = process.env.BRANDING_URL