remove useless ratelimit views
This commit is contained in:
@@ -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" .}}
|
|
||||||
@@ -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" .}}
|
|
||||||
Reference in New Issue
Block a user