Open toastdoteth opened 3 months ago
Hi @toastdoteth, I need a bit more context to understand what you mean. The files are served through your S3 bucket directly. What URL are you talking about exactly?
I would suggest you to watch my video tutorials which show you the full process. If you have quest any questions you can also join the Open Devs Crew as we provide public support for bugs only.
In the video you ask us to grab the public URI to the image file but there is no such thing anymore. The public/private access is a setting on DO than separate URIs On 1 Aug 2024 at 19:02 +1200, Marco Lipparini @.***>, wrote:
Hi @toastdoteth, I need a bit more context to understand what you mean. The files are served through your S3 bucket directly. What URL are you talking about exactly? I would suggest you to watch my video tutorials which show you the full process. If you have quest any questions you can also join the Open Devs Crew as we provide public support for bugs only. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I'm not sure I get what you refer to (if this is not what you mean, then please share the time of the video so I can check the exact step where I tell you that). Anyways, the public URI was served by the DO's UI for convenience, but you can construct it on your own by using the bucket name, the region and the path that you used for the public files (e.g. https://YOUR_BUCKET.YOUR_REGION.digitaloceanspaces.com/PATH/TO/THE/PUBLIC/FOLDER
, check the video for the exact format as you may need to have a full path with a wildcard, like .../{TOKEN_ID}.json
).
I have to say that I can still see the option to grab the public URL from DO: https://github.com/user-attachments/assets/f92eaa73-f82c-4a2e-8ce4-c05c2d779a68
Please note that by "the public URL" I don't mean that it's actually "publicly accessible" all the time, what I mean is that my tool is gonna make the files available in that place, when needed.
Let me know if this helps.
Thanks for coming back to me. I've messaged you on Twitter but to summarise here.. I hadnt followed correctly your tutorial but since corrected utilising private/public folders and setting the env correctly but the build is failing as its not importing typescript or something. I'm not sure if it will work anyway considering its been a couple of years but if you wouldnt miund checking your DMs on Twitter where Ive sent you some screens. Cheers
Thank you @toastdoteth.
As mentioned on Twitter, the project still works as intended, but it seems like DigitalOcean has changed a few things that make the build fail.
For context: now the dev dependencies are removed from the project before running the custom build command, this makes the build fail as tsc
cannot be found. Luckily, there's a quick fix because they recognize my standard build command and they run it for you, so you can simply remove the "custom build command" and everything should work as expected until I have time to fix this on the repo.
Here are some instructions...
Amazing. It works! Thank you so much.
Digital Ocean only provide a single URL to the file in which its access is changed via a setting on DO. I think this breaks things?