mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-07-14 01:46:06 +01:00
Previously, if a user favorited a newly generated image (named 'image.png'), the favorite status would be lost once the image was automatically renamed to its final timestamped filename. This change modifies the renaming logic to check the `favourites.json` file. If 'image.png' is found, its entry is updated with the new filename, ensuring the favorite status is preserved.