mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-25 16:58:06 +00:00
Add support for configurable administrator email
This commit is contained in:
@@ -5848,12 +5848,9 @@ end
|
||||
error 500 do |env|
|
||||
error_message = <<-END_HTML
|
||||
Looks like you've found a bug in Invidious. Feel free to open a new issue
|
||||
<a href="https://github.com/omarroth/invidious/issues">
|
||||
here
|
||||
</a>
|
||||
<a href="https://github.com/omarroth/invidious/issues">here</a>
|
||||
or send an email to
|
||||
<a href="mailto:omarroth@protonmail.com">
|
||||
omarroth@protonmail.com</a>.
|
||||
<a href="mailto:#{CONFIG.admin_email}">#{CONFIG.admin_email}</a>.
|
||||
END_HTML
|
||||
templated "error"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user