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

9 lines
205 B
Text
Raw Permalink Normal View History

- 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']}"
}