Skip to content

Commit 7f6b9e6

Browse files
committed
docs(studio-server): update preview variables helper reference
1 parent eb6dca0 commit 7f6b9e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/studio-server/src/helpers/mediaProxyPreview.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export async function injectMediaCodecMapIntoHtml(
111111
});
112112
}
113113
// <-escape prevents a src path containing "</script>" from breaking out of
114-
// the injected tag, mirroring injectPreviewVariables in routes/preview.ts.
114+
// the injected tag, mirroring injectPreviewVariables in helpers/previewVariables.ts.
115115
const json = JSON.stringify(map)
116116
.replace(/</g, "\\u003c")
117117
.replace(/\u2028/g, "\\u2028")

0 commit comments

Comments
 (0)