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

8 lines
212 B
Text

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