Skip to content

Commit ca305f2

Browse files
authored
Fix preview config defaults (#5804)
Signed-off-by: Andrey Sobolev <[email protected]>
1 parent a596f46 commit ca305f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/front/src/starter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function startFront (ctx: MeasureContext, extraConfig?: Record<string, st
103103

104104
if (previewConfig === undefined) {
105105
// Use universal preview config
106-
previewConfig = `*|${uploadUrl}/:workspace?file=:file.:format&size=:size`
106+
previewConfig = `*|${uploadUrl}/:workspace?file=:blobId.:format&size=:size`
107107
}
108108

109109
const brandingUrl = process.env.BRANDING_URL

0 commit comments

Comments
 (0)