Skip to content

Commit f3663b7

Browse files
committed
Remove URL encoding for CDN path resolution
1 parent 1ab31d1 commit f3663b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/desktop-cdn/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export async function fetchFromPath(
3333
buildId?: string
3434
) {
3535
// Transform the path if it matches the latest-build pattern
36-
path = encodeURIComponent(transformLatestBuildPath(path));
36+
path = transformLatestBuildPath(path);
3737

3838
const obj = await env.R2_BUCKET.head(path);
3939
if (obj === null) {

0 commit comments

Comments
 (0)