mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-01 16:33:20 +05:30
update the url_search_issues variable to search for the current error on GitHub instead of showing all issues
This commit is contained in:
parent
b673695aa2
commit
6db4a46c5f
@ -43,6 +43,8 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, exce
|
||||
# URLs for the error message below
|
||||
url_faq = "https://github.com/iv-org/documentation/blob/master/docs/faq.md"
|
||||
url_search_issues = "https://github.com/iv-org/invidious/issues"
|
||||
url_search_issues += "?q=is:issue+is:open+"
|
||||
url_search_issues += URI.encode_www_form("[Bug] " + issue_title)
|
||||
|
||||
url_switch = "https://redirect.invidious.io" + env.request.resource
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user