From 66b3992db2bbdf8fbdc89b7d8e87309ac975e60c Mon Sep 17 00:00:00 2001 From: Ruslan Kabalin Date: Wed, 27 Dec 2023 19:20:04 +0000 Subject: [PATCH] Add sentry script in prod env only. --- views/app.pug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/app.pug b/views/app.pug index 1ad99b22..ece96b3c 100644 --- a/views/app.pug +++ b/views/app.pug @@ -10,7 +10,7 @@ html script(type="text/javascript", src='/js/lib/es6-promise.min.js') link(rel="stylesheet", href="/style/common.css") - | + | + else + script(src="https://js.sentry-cdn.com/9584509fc9bc1edf71474b8460b41d65.min.js", crossorigin="anonymous") body if nojsShow