5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 01:46:22 +00:00
panel/app/views/env/index.js.haml
f 504f30997e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: no fallar si no hay sitio del panel
2023-06-10 12:18:25 -03:00

8 lines
205 B
Text

- if @site
= cache @site do
:plain
window.env = {
AIRBRAKE_SITE_ID: #{@site.id},
AIRBRAKE_API_KEY: "#{@site.airbrake_api_key}",
PANEL_URL: "#{ENV['PANEL_URL']}"
}