From 1b15f437451a9c88c71fb29b475612a8c18a18ef Mon Sep 17 00:00:00 2001
From: ed
Date: Tue, 7 Sep 2021 22:30:50 +0200
Subject: [PATCH] crashpage: add github-issue link
---
.github/ISSUE_TEMPLATE/bug_report.md | 4 +++-
copyparty/web/util.js | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 96433314..cb723222 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -7,7 +7,9 @@ assignees: '9001'
---
-all of the below are optional, consider them as inspiration, delete and rewrite at will
+NOTE:
+all of the below are optional, consider them as inspiration, delete and rewrite at will, thx md
+
**Describe the bug**
a description of what the bug is
diff --git a/copyparty/web/util.js b/copyparty/web/util.js
index d3a2e4eb..c4b5ca4c 100644
--- a/copyparty/web/util.js
+++ b/copyparty/web/util.js
@@ -72,7 +72,7 @@ function vis_exh(msg, url, lineNo, columnNo, error) {
var html = [
'you hit a bug!
',
'
try to reset copyparty settings if you are stuck here, or ignore this / ignore all
', - 'please send me a screenshot arigathanks gozaimuch: ed/irc.rizon.net
or ed#2644
please send me a screenshot arigathanks gozaimuch: github issue or ed#2644
' + esc(url + ' @' + lineNo + ':' + columnNo), '
' + esc(String(msg)) + '
UA: ' + esc(navigator.userAgent + '')
];
@@ -142,7 +142,7 @@ function vis_exh(msg, url, lineNo, columnNo, error) {
);
document.head.appendChild(s);
}
- exbox.innerHTML = html.join('\n').replace(/https?:\/\/[^ \/]+\//g, '/').replace(/js\?_=[a-zA-Z]{4}/g, 'js');
+ exbox.innerHTML = html.join('\n').replace(/https?:\/\/[^ \/]+\//g, '/').replace(/js\?_=[a-zA-Z]{4}/g, 'js').replace(/