mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Show error page when rate limited
This commit is contained in:
parent
2128b280b4
commit
4e1d213488
6 changed files with 25 additions and 5 deletions
|
|
@ -117,4 +117,4 @@ proc renderMain*(body: VNode; req: Request; cfg: Config; prefs=defaultPrefs;
|
|||
proc renderError*(error: string): VNode =
|
||||
buildHtml(tdiv(class="panel-container")):
|
||||
tdiv(class="error-panel"):
|
||||
span: text error
|
||||
span: verbatim error
|
||||
|
|
|
|||
Loading…
Reference in a new issue