We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd330d commit da928c8Copy full SHA for da928c8
lib/storage/index.ts
@@ -230,6 +230,6 @@ export const useStorageAdapter = createSingletonPromise(async () => {
230
}
231
})
232
233
-function createLocalDownloadUrl(objectName: string) {
234
- return `${ENV.API_BASE_URL}/download/${randomBytes(64).toString('hex')}/${objectName}`
+function createLocalDownloadUrl(cacheFileName: CacheFileName) {
+ return `${ENV.API_BASE_URL}/download/${randomBytes(64).toString('hex')}/${cacheFileName}`
235
routes/download/[random]/[objectName].ts renamed to routes/download/[random]/[cacheFileName].ts
0 commit comments