-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure the endpoint prop #55
Comments
I found the answer in your tutorial. It clicked when I saw the comment in this snippet:
In case it wasn't clear to anyone else, the component is handling the direct upload to store the file. That endpoint can be thought of as a callback that associates that uploaded file with the record. In this way, it's a two-part process:
Maybe this was obvious to others who are more familiar with active storage direct uploads, but it took me some time to figure out so perhaps this will save others some time. |
Thanks for this great tool!
I don't understand how to configure the required
endpoint
prop. I suspect this references a pre-existing configuration or value related to active_storage, but I can't find it anywhere in the documentation. Can you say a few words about how to determine the values of that object? Thanks in advance.The text was updated successfully, but these errors were encountered: