fix(workshop): encode screenshot filenames in URLs and stabilize paste effect deps

This commit is contained in:
copilot-swe-agent[bot] authored and GitHub committed 2026-07-04 07:18:18 +00:00
1 parent 74289b8b01
commit e6f8174a44
2 files changed
+2 -2

No files matched your search

@@ -28,7 +28,7 @@ interface PBListResponse {
}
export const getStoreFileUrl = (submission: StoreSubmission, filename: string) =>
`${STORE_URL}/api/files/submissions/${submission.id}/${filename}`;
`${STORE_URL}/api/files/submissions/${submission.id}/${encodeURIComponent(filename)}`;
export const fetchStoreSubmissions = async (
type: "css" | "widget",