Files
RSSHub/lib/views/error.art
2023-12-05 01:41:08 +08:00

66 lines
2.1 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Error in RSSHub!</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 16px;
color: #2c3e50;
}
.content {
width: 800px;
margin: 100px auto 0;
text-align: center;
}
.message {
white-space: pre-wrap;
text-align: left;
}
a {
color: #F5712C;
}
img {
filter: grayscale(1);
}
</style>
</head>
<body>
<div class="content">
<p>
<img src="/logo.png" alt="RSSHub" width="120" loading="lazy" />
</p>
<h1>Looks like something went wrong</h1>
<pre class="message">Route requested: {{@ requestPath }}</pre>
<pre class="message">Error message: {{@ message }}</pre>
<pre class="message">
Helpful Information to provide when opening issue:
Path: {{@ errorPath }}
Node version: {{@ nodeVersion}}
Git Hash: {{@ gitHash}}
</pre>
<pre class="message">
If you believe this is an error caused by RSSHub, please <a href="https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+bug&template=bug_report_en.yml" target="_blank">report on github</a>
如果您认为 RSSHub 导致了该错误,请在 GitHub 按照模版,复制本页面信息进行 <a href="https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+bug&template=bug_report_zh.yml" target="_blank">汇报</a>
</pre>
<div style="margin: 50px 0">
<p>For online documentation and support please refer to
<a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>.</p>
<p>在线文档与支持,请访问 <a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>。</p>
</div>
</div>
</body>
</html>