Do not use absolute URL to display lottie JSON file

Created on 15 July 2024, 5 months ago

Problem/Motivation

When I upload a JSON file it populates the Lottiefile URL with an absolute path to the file. This causes problems when migrating to other domains or using domain prefixes (www).

Steps to reproduce

Install module, create a media and upload a JSON file

Proposed resolution

To display the lottie JSON, use relative paths or simply the path to the stored file in /sites/default/files

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain lluisandreu

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

Comments & Activities

Production build 0.71.5 2024