多个提示页面增加请求ID

This commit is contained in:
刘祥超
2021-12-02 14:45:51 +08:00
parent 4ce6e5a9f6
commit eb78b4881c
5 changed files with 16 additions and 12 deletions

View File

@@ -48,8 +48,10 @@ Vue.component("http-firewall-actions-box", {
var defaultPageBody = `<!DOCTYPE html> var defaultPageBody = `<!DOCTYPE html>
<html> <html>
<title>403 Forbidden</title>
<body> <body>
403 Forbidden <h1>403 Forbidden</h1>
<address>Request ID: \${requestId}.</address>
</body> </body>
</html>` </html>`

View File

@@ -78,10 +78,10 @@ Vue.component("http-pages-and-shutdown-box", {
</head> </head>
<body> <body>
<h3>网站升级中</h3> <h1>网站升级中</h1>
<p>为了给您提供更好的服务,我们正在升级网站,请稍后重新访问。</p> <p>为了给您提供更好的服务,我们正在升级网站,请稍后重新访问。</p>
<footer>Powered by GoEdge.</footer> <address>Request ID: \${requestId}, Powered by GoEdge.</address>
</body> </body>
</html>` </html>`

View File

@@ -50,7 +50,9 @@ Vue.component("traffic-limit-config-box", {
<title>Traffic Limit Exceeded Warning</title> <title>Traffic Limit Exceeded Warning</title>
<body> <body>
The site traffic has exceeded the limit. Please contact with the site administrator. <h1>Traffic Limit Exceeded Warning</h1>
<p>The site traffic has exceeded the limit. Please contact with the site administrator.</p>
<address>Request ID: \${requestId}.</address>
</body> </body>
</html>` </html>`

View File

@@ -5,15 +5,15 @@ Tea.context(function () {
this.$refs.htmlBody.value = `<!DOCTYPE html> this.$refs.htmlBody.value = `<!DOCTYPE html>
<html> <html>
<head> <head>
\t<title>页面标题</title> \t<title>\${status} \${statusMessage}</title>
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> \t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head> </head>
<body> <body>
<h3>内容标题</h3> <h1>\${status} \${statusMessage}</h1>
<p>内容</p> <p><!-- 内容 --></p>
<footer>Powered by GoEdge.</footer> <address>Request ID: \${requestId}, Powered by GoEdge.</address>
</body> </body>
</html>` </html>`

View File

@@ -12,15 +12,15 @@ Tea.context(function () {
this.$refs.htmlBody.value = `<!DOCTYPE html> this.$refs.htmlBody.value = `<!DOCTYPE html>
<html> <html>
<head> <head>
\t<title>页面标题</title> \t<title>\${status} \${statusMessage}</title>
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> \t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head> </head>
<body> <body>
<h3>内容标题</h3> <h1>\${status} \${statusMessage}</h1>
<p>内容</p> <p><!-- 内容 --></p>
<footer>Powered by GoEdge.</footer> <address>Request ID: \${requestId}, Powered by GoEdge.</address>
</body> </body>
</html>` </html>`