Skip to content

Commit

Permalink
docs: Remove uppercased filename for custom path (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettdams authored Feb 17, 2023
1 parent 2006539 commit 14106dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs-site/src/pages/s3-file-paths.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { APIRoute } from "next-s3-upload";

export default APIRoute.configure({
key(req, filename) {
return `my/uploads/path/${filename.toUpperCase()}`;
return `my/uploads/path/${filename}`;
}
});
```
Expand Down

1 comment on commit 14106dd

@vercel
Copy link

@vercel vercel bot commented on 14106dd Feb 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.