Add host name variable to noscript iframe

Created on 4 April 2024, 8 months ago
Updated 10 May 2024, 7 months ago

Problem/Motivation

Currently if a user updates the hostname in the configuration the new URL is added to the script that is loaded in the head but the noscript found in the body does not have a variable set to update the hostname dynamically. For consistency this hostname also needs to reflect the hostname set in the config.

Steps to reproduce

If you update the hostname in the configuration and inspect the site you will see that the URL is updated in the head script but not in the noscript section found in the body.

Proposed resolution

I have created a patch that adds an additional host name variable that will be available in the twig file so that the noscript URL can also be updated. I will add the patch in the first comment below.

Remaining tasks

Only review and testing should be needed.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands roaldnel

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

Comments & Activities

Production build 0.71.5 2024