fix(workshop): encode screenshot filenames in URLs and stabilize paste effect deps
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user