sutty/app/views/env/index.js.haml

8 lines
180 B
Text
Raw Normal View History

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