From 99c9060774096defa13c83cc4bcb41c23c704eda Mon Sep 17 00:00:00 2001 From: Karl Date: Thu, 29 Feb 2024 17:03:50 +0000 Subject: [PATCH] Update devel.yaml.jinja --- src/devel.yaml.jinja | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/devel.yaml.jinja b/src/devel.yaml.jinja index 8b91f5d..0dfa6c3 100644 --- a/src/devel.yaml.jinja +++ b/src/devel.yaml.jinja @@ -1,12 +1,14 @@ {%- import "_macros.jinja" as macros -%} -{% set whitelisted_hosts = ( - "cdnjs.cloudflare.com", +{% set whitelisted_hosts = [ "fonts.googleapis.com", "fonts.gstatic.com", - "www.google.com", "www.googleapis.com", "www.gravatar.com", -) -%} +] -%} +{% if odoo_version <= 15 -%} +{% set whitelisted_hosts = "cdnjs.cloudflare.com" + whitelisted_hosts -%} +{% endif -%} + version: "2.4" services: