From 0253c5e80aa96509797897c9d41b91b98fad0888 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 12 Jul 2023 14:44:56 +0200 Subject: reworded misdiagnosed Espanso issue, added another redirection. --- plugins/libre_redirect/libre_redirect.c | 4 +++- plugins/libre_redirect/libre_redirect.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/libre_redirect') diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 4e1021b..1c32016 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -5,7 +5,7 @@ #include "str_init.h" #include "str_replace_start.h" -#define LIBRE_N 19 +#define LIBRE_N 50 /* Uncomment for debug */ /* #define DEBUG */ @@ -37,6 +37,7 @@ int libre_redirect(const char* uri, char* output) "https://translate.google.com", "https://www.bloomberg.com", "https://www.royalroad.com", + "https://archive.org", // "https://twitter.com" }; @@ -48,6 +49,7 @@ int libre_redirect(const char* uri, char* output) "https://translate.riverside.rocks/", "https://archive.is/https://www.bloomberg.com", "https://royalread.nunosempere.com", + "https://wayback.nunosempere.com", // "https://nitter.net" }; diff --git a/plugins/libre_redirect/libre_redirect.h b/plugins/libre_redirect/libre_redirect.h index 150c95e..2c61397 100644 --- a/plugins/libre_redirect/libre_redirect.h +++ b/plugins/libre_redirect/libre_redirect.h @@ -1,6 +1,6 @@ #pragma once -#define LIBRE_N 19 +#define LIBRE_N 50 int libre_redirect(const char* uri, char* uri_filtered); void str_init(char* str, int n); -- cgit v1.2.3