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

Created on 24 June 2024, 4 days 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

Active

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan josebc

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

Comments & Activities

Production build 0.69.0 2024