Open thomasmorice opened 10 months ago
does this work?
import { POST as route } from "next-s3-upload/route";
export const POST = route.configure({
// ...
});
I get an error: hostname: sts.fra1.amazonaws.com
,
Seems like the hostname is not being updated by the endpoint passed as a parameter within route.configure({...})
Can you share your code?
This answer is very late but I still want to share to who need it and thank to your answer @ryanto
import { POST as route } from 'next-s3-upload/route';
const POST = route.configure({
// your configuration
});
export { POST };
Currently using the AppRouter configuration
export { POST } from "next-s3-upload/route";
There is no way to add a custom endpoint