5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 18:46:23 +00:00
panel/app/views/env/index.js.haml

8 lines
187 B
Text
Raw Permalink Normal View History

2021-02-02 21:52:54 +00:00
= cache @site do
:plain
window.env = {
AIRBRAKE_SITE_ID: #{@site&.id || 1},
AIRBRAKE_API_KEY: "#{@site&.airbrake_api_key}",
PANEL_URL: "#{ENV['PANEL_URL']}"
}