mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
ui: direct flaresolverr errors to flaresolverr bug issue template (#13795)
This commit is contained in:
parent
66c7af1769
commit
5fef170942
2 changed files with 2 additions and 3 deletions
|
@ -917,8 +917,7 @@ function doErrorNotify(indexerId, errorMessage, errorEvent) {
|
||||||
var githubTemplate = "?template=bug_report.yml&"
|
var githubTemplate = "?template=bug_report.yml&"
|
||||||
if (errorMessage.includes("FlareSolverr")) {
|
if (errorMessage.includes("FlareSolverr")) {
|
||||||
githubRepo = "FlareSolverr/FlareSolverr";
|
githubRepo = "FlareSolverr/FlareSolverr";
|
||||||
githubText = "FlareSolverr";
|
githubText = "FlareSolverr"
|
||||||
githubTemplate = "?"
|
|
||||||
}
|
}
|
||||||
var githubUrl = "https://github.com/" + githubRepo + "/issues/new" + githubTemplate + "title=[" + indexerId + "] (" + errorEvent + ")";
|
var githubUrl = "https://github.com/" + githubRepo + "/issues/new" + githubTemplate + "title=[" + indexerId + "] (" + errorEvent + ")";
|
||||||
var indexEnd = 2000 - githubUrl.length; // keep url <= 2k #5104
|
var indexEnd = 2000 - githubUrl.length; // keep url <= 2k #5104
|
||||||
|
|
|
@ -756,6 +756,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
|
||||||
<script type="text/javascript" src="../custom.js?changed=20221003"></script>
|
<script type="text/javascript" src="../custom.js?changed=20221221"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue