mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add support for configurable administrator email
This commit is contained in:
parent
35f011758d
commit
03e24cccd0
2 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue