Refactor the event subscriber so it returns the image directly without redirecting

Created on 24 June 2024, 6 months ago
Updated 8 August 2024, 5 months ago

Problem/Motivation

Currently, the module reacts to non-existing images by redirecting to the generation route. this causes an unnecessary redirect on the first request.

Proposed resolution

Refactor the code so the image is returned directly from the the subscriber, ideally moving helper functionality from the controller to a service class to keep the code cleaner.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan josebc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024