Use Relative File Path if the PDF is a local media

Created on 28 May 2025, about 1 month ago

Problem/Motivation

If we use the absolute path for rendering the local media filed then we might get the absolute URL with http instead of https and in this scenario module will not be able to render the pdf.

Steps to reproduce

Proposed resolution

Check if relative path exist for the file and pass that relative path in the render array instead of absolute path.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India sahilgidwani Jaipur

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

Comments & Activities

Production build 0.71.5 2024