mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 09:24:54 +10:00
add new feature flag FLAG_DISABLE_IMAGE_PROCESSING
This commit is contained in:
@@ -78,7 +78,7 @@ export const storageRouter = {
|
||||
},
|
||||
})
|
||||
.handler(async ({ context, input }): Promise<void> => {
|
||||
// The filename is now the full path from the URL (e.g., "uploads/userId/pictures/timestamp.webp")
|
||||
// The filename is now the full path from the URL (e.g., "uploads/userId/pictures/timestamp.ext")
|
||||
// We need to extract just the path portion that matches the storage key
|
||||
const key = input.filename.startsWith("uploads/")
|
||||
? input.filename
|
||||
|
||||
Reference in New Issue
Block a user