#File Upload

1 messages · Page 1 of 1 (latest)

lethal yoke
#

I need to extend a feature for product reviews. Everthing is going fine, migrations, services and stuff. One thing where I am stuck is file upload. Requirement is that user will upload images alongside reviews. I discovered the route being used in admin
http://localhost:9000/admin/uploads. but I'm sure it will be unauthorised for storefront. Can anyone tell me how to bypass this auth ar create own upload service

royal echo
#

heyy have you found a solution to it? @lethal yoke

lethal yoke
#

not yet

#

i have a workaround

#

have made a next api route in frontend to upload the file directly to s3