Skip to content

Commit

Permalink
refactor(teler): update DefaultHTMLResponse
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Jun 12, 2024
1 parent 14b1a7f commit b977ce0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions const.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ const (
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>403 Forbidden</title>
</head>
<body>
<center>
<body style="width: 500px; margin:0 auto; text-align:left; font-size: 12pt; font-family: monospace; padding: 1em;">
<h1>403 Forbidden</h1>
We're sorry, but your request has been denied for security reasons.<br>
If you feel this is an error, please contact customer support for further assistance.
</center>
<hr><center>teler rID: {{ID}} <!-- | reason: {{message}} (threat: {{threat}}) --></center>
<p>We're sorry, but your request has been denied for security reasons.</p>
<p>If you feel this is an error, please contact customer support for further assistance.</p>
<p><a href="#" onclick="javascript:back();">Go back</a>.</p>
<hr>
<p>Req-Id: {{ID}} <!-- | Msg: {{message}} (Threat: {{threat}}) --></p>
</body>
<script type="text/javascript">function back(){const o=document.referrer;o&&new URL(o).hostname===window.location.hostname?history.back():window.location.href="/"}</script>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
Expand Down

0 comments on commit b977ce0

Please sign in to comment.