From 0f0cb49684a6f0b498d3e0eb3a0b2e632ff904bd Mon Sep 17 00:00:00 2001 From: oskarrough Date: Mon, 22 Jan 2024 20:01:02 +0100 Subject: [PATCH] Fix sentry init --- .env | 2 ++ .gitignore | 2 +- src/ui/layouts/Layout.astro | 8 +++++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 00000000..e7b91ca3 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +PUBLIC_VERSION=${npm_package_version} + diff --git a/.gitignore b/.gitignore index 17590d56..cb2368a5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,4 @@ dev-dist/ docs/ .vercel .astro/ -.env +.env.local diff --git a/src/ui/layouts/Layout.astro b/src/ui/layouts/Layout.astro index 39b1e0a2..aac1e03f 100644 --- a/src/ui/layouts/Layout.astro +++ b/src/ui/layouts/Layout.astro @@ -43,11 +43,13 @@ const {title} = Astro.props crossorigin />