From 572be87ec9e5e28fc573586661c30b0bd5175aec Mon Sep 17 00:00:00 2001 From: Xavier Yao Date: Fri, 28 Feb 2020 09:52:30 -0700 Subject: [PATCH] shorten 404 issue titile --- 404.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/404.html b/404.html index 19c3676..d980aee 100644 --- a/404.html +++ b/404.html @@ -22,7 +22,7 @@ permalink: /404.html tuna/issues - 提交错误报告或者镜像申请 @@ -44,7 +44,7 @@ permalink: /404.html (function(){ var bugLink = document.getElementById("new_issue_bug"); var bugURL = new URL(bugLink.href); - bugURL.searchParams.append("title", "Bug: 404 happened at " + location.href); + bugURL.searchParams.append("title", "404 at " + location.pathname); bugLink.href = bugURL.href; var mrLink = document.getElementById("new_issue_mr");