From 83fa767f1a5a54b08f41453ac1e30d3fa8c75901 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 7 Jun 2020 18:44:18 +1200 Subject: [PATCH] Update blocked page --- src/lib/constants.js | 1 - src/site/pug/blocked.pug | 3 +++ src/site/pug/includes/error.pug | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/constants.js b/src/lib/constants.js index 78ae575..5b7e8b5 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -180,7 +180,6 @@ let constants = { use_assistant: { enabled: false, - // Read the docs. assistants: [ ], offline_request_cooldown: 20*60*1000, diff --git a/src/site/pug/blocked.pug b/src/site/pug/blocked.pug index ba5ee61..ef57029 100644 --- a/src/site/pug/blocked.pug +++ b/src/site/pug/blocked.pug @@ -12,3 +12,6 @@ html | Instagram is refusing to provide data to this server. Try again later to see if the block has been lifted. | This error has been cached. The internal cache will expire in #{expiresMinutes} minutes. | + a(href="https://github.com/cloudrac3r/bibliogram/wiki/Rate-limits") Read more about blocking. + | + | diff --git a/src/site/pug/includes/error.pug b/src/site/pug/includes/error.pug index 7c08a4f..21d1747 100644 --- a/src/site/pug/includes/error.pug +++ b/src/site/pug/includes/error.pug @@ -7,4 +7,4 @@ mixin error(statusCode, message, withInstancesLink) block if withInstancesLink a(href="https://github.com/cloudrac3r/bibliogram/wiki/Instances") You could try browsing Bibliogram on another instance. - a(href="javascript:history.back()").back ← Go back? + a(href="/").back ↵ Return home