-
Notifications
You must be signed in to change notification settings - Fork 44
Have the frontend making the API call to sara directly #2569
Copy link
Copy link
Open
Labels
improvementImprovement to existing functionalityImprovement to existing functionality
Description
Describe the improvement you would like to see
Currently the frontend makes a call to the backend to retrieve the images from the sara anon storage account and visualized account. Then this image is downloaded by the backend and fowarded as a file to the frontend where it is cached.
It has been discussed that an improvement to this code would be to have the frontend directly call the sara api and the download of the image happens on the frontend.
This task can be split in two as well:
- Have the download of the blob happen in the frontend
- Have the frontend call sara instead of calling the backend which calls sara
How will this change existing functionality?
Functionality is the same, it's just a better code approach.
How will this improvement affect the current Threat Model?
Leave blank for maintainers to fill out if you are uncertain about this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
improvementImprovement to existing functionalityImprovement to existing functionality