mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-17 00:41:50 +00:00
![void](/assets/img/avatar_default.png)
fixes #1279 antes fallaba silenciosamente y rompía airbrake que en consecuencia rompía el resto del javacript
7 lines
180 B
Text
7 lines
180 B
Text
= cache @site do
|
|
:plain
|
|
window.env = {
|
|
AIRBRAKE_SITE_ID: #{@site.id},
|
|
AIRBRAKE_API_KEY: "#{@site.airbrake_api_key}",
|
|
PANEL_URL: "#{ENV['PANEL_URL']}"
|
|
}
|