falcon icon indicating copy to clipboard operation
falcon copied to clipboard

🚀 [REQUEST] - Make paths relative in production build of assets, create a way to register proper publicPath on the fly

Open btjsteens opened this issue 1 year ago • 1 comments

Description

The file "theme.css" contains several absolute URLs to assets, such as fonts. When Prestashop is installed in a subdirectory, these paths will fail and 404 errors will occur. Propose to replace these paths by relative paths, similar to how it is done in "theme.css" of the classic theme.

Node.js version

n/a

php version

v8.1.10

OS and it's version

n/a

Browsers

No response

Required module/theme

Theme

Reproduction steps

1. Install Prestashop in a subdirectory
2. Follow Falcon installation steps
3. Activate theme and visit front office

Logs

No response

btjsteens avatar Jan 04 '23 11:01 btjsteens