{#- What the app's scripts read from the page: the CSRF token, the API's URLs, Sentry. Included by both base templates, the old one and the one on ADS. -#} {%- set sentry_url = config.get("SENTRY_SDK_URL") %} {%- set sentry_dsn = config.get("SENTRY_DSN") %} {%- set use_sentry = sentry_url and sentry_dsn %} {#- Data, not a script: the Content Security Policy rules out inline scripts. vite/src/config.js reads it. #} {%- if use_sentry %} {%- endif %}