From a3c14feb5e979412d75dc68a62747d70b0c339ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 12 Dec 2024 14:08:27 +0100 Subject: [PATCH] Remove desktop_alt and mobile_alt interfaces --- geoportal/vars.yaml | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/geoportal/vars.yaml b/geoportal/vars.yaml index a59874d67..cf0fcc11c 100644 --- a/geoportal/vars.yaml +++ b/geoportal/vars.yaml @@ -45,13 +45,9 @@ vars: - name: iframe_api_renovated type: custom html_filename: iframe_api.html - - name: desktop_alt - type: canvas - layout: desktop - name: desktop_renovated type: custom html_filename: desktop.html - - name: mobile_alt - name: mobile_renovated type: custom html_filename: mobile.html @@ -201,15 +197,15 @@ vars: gmfBase: name: base - desktop_alt: + desktop_renovated: extends: desktop - redirect_interface: mobile_alt + redirect_interface: mobile_renovated constants: sentryOptions: <<: *sentryOptions tags: service: js - interface: desktop_alt + interface: desktop_renovated gmfOptions: <<: *gmfOptions map: @@ -369,16 +365,9 @@ vars: height: 20 gmfShareOptions: enableEmail: False - - desktop_renovated: - extends: desktop_alt - redirect_interface: mobile_renovated - constants: # Those two lines should be commented in dev mode. gmfCustomJavascriptUrl: '' gmfCustomStylesheetUrl: '' - sitnFeedbackPath: custom/feedback - swisscomHeatmapPath: custom/swisscom-heatmap mobile: constants: @@ -399,15 +388,15 @@ vars: - name: srtm unit: m - mobile_alt: + mobile_renovated: extends: mobile - redirect_interface: desktop_alt + redirect_interface: desktop_renovated constants: sentryOptions: <<: *sentryOptions tags: service: js - interface: mobile_alt + interface: mobile_renovated gmfOptions: <<: *gmfOptions map: @@ -494,10 +483,6 @@ vars: autoRotate: True atLoadingTime: True - mobile_renovated: - extends: mobile_alt - redirect_interface: mobile_renovated - iframe_api: constants: gmfOptions: *gmfOptions @@ -951,7 +936,7 @@ vars: login: *auth_header global_headers: - - pattern: '^/desktop_alt(/.*|\?.*)?$' + - pattern: '^/desktop_renovated(/.*|\?.*)?$' headers: Content-Security-Policy: "default-src {content_security_policy_main_default_src}; script-src 'unsafe-eval' {content_security_policy_main_script_src}; @@ -1045,7 +1030,7 @@ no_interpreted: - reset_password.email_body - shortener.email_body - welcome_email.email_body - - interfaces_config.mobile_alt.constants.gmfMobileMeasurePointOptions.format + - interfaces_config.mobile_renovated.constants.gmfMobileMeasurePointOptions.format runtime_environment: - name: SMTP_USER