diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-10-27 14:18:07 -0400 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-10-27 14:18:07 -0400 |
| commit | 03e24cccd0a897fb94d802eac194abb83e9aeb8e (patch) | |
| tree | 32e450db198381586b3e09eeb5874cb493289571 /src/invidious.cr | |
| parent | 35f011758dd3445841f903eba8b69c61b78f5106 (diff) | |
| download | invidious-03e24cccd0a897fb94d802eac194abb83e9aeb8e.tar.gz invidious-03e24cccd0a897fb94d802eac194abb83e9aeb8e.tar.bz2 invidious-03e24cccd0a897fb94d802eac194abb83e9aeb8e.zip | |
Add support for configurable administrator email
Diffstat (limited to 'src/invidious.cr')
| -rw-r--r-- | src/invidious.cr | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index d5be4ba1..aad08e40 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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 |
