remove useless ratelimit views

This commit is contained in:
Arya 2023-07-05 20:57:42 +05:30
parent 9e3f25731a
commit 9e6e7a3ef2
Signed by: arya
GPG Key ID: 842D12BDA50DF120
2 changed files with 0 additions and 28 deletions

View File

@ -1,15 +0,0 @@
{{ template "header" .}}
<main>
<h2>{{.Title}}</h2>
<p>Try another instance or wait.</p>
<h2>Info</h2>
{{ range $key, $value := .ratelimit}}
<p>Limit: <b>{{.Limit}}</b></p>
<p>Remaining: <b>{{.Remaining}}</b></p>
{{ end }}
<i>Todo: implement GitHub API keys</i>
</main>
{{ template "footer" .}}

View File

@ -1,13 +0,0 @@
{{ template "header" .}}
<main>
<h2>{{.Title}}</h2>
<p>Wait 5 minutes before trying again.</p>
<h2>Info</h2>
<p>
SimplyTranslate has implemented ratelimits in order to prevent rate-limits by Translation Engines.
You've been hit by the rate limiter.
</p>
</main>
{{ template "footer" .}}