NUS-Project-SaBai / FrontEnd

1 stars 1 forks source link

Bug/anson/228 #229

Closed PohAnson closed 1 month ago

PohAnson commented 1 month ago

Fixes #201 and #228

Created a helper function getImageUrl that returns the url based on whether it is online or offline. Refactored all the image url to use this function.