codersforcauses / coexist

https://coexist-events.vercel.app
MIT License
6 stars 0 forks source link

Fix up static file serving #80

Closed Connor2803 closed 3 months ago

Connor2803 commented 3 months ago

Basic Information

Currently get the following error when trying to access the image uploaded for an event. Change the event endpoint or the server settings to make these files accessible. However this is only really intended for a development setting, but I'm not sure what we will use to host this later. image

github-actions[bot] commented 3 months ago

Branch issue-80-Fix_up_static_file_serving created!

Connor2803 commented 3 months ago

Seems all good now, very easy fix so I hope it works for everything we need. Can now go to the link that the event api gives you for the image, and get it. If images with the same name are uploaded a random string is appended, this is done all by Django though. image