From ae80068461b86517a8238b828994974bbed3e0f6 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Mon, 5 Feb 2024 21:20:00 +0100 Subject: [PATCH 1/2] Replace www.unddit.com with undelete.pullpush.io --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 162b3618..adb27540 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,7 +11,7 @@ pub static CONFIG: Lazy = Lazy::new(Config::load); // This serves as the frontend for the Pushshift API - on removed comments, this URL will // be the base of a link, to display removed content (on another site). -pub const DEFAULT_PUSHSHIFT_FRONTEND: &str = "www.unddit.com"; +pub const DEFAULT_PUSHSHIFT_FRONTEND: &str = "undelete.pullpush.io"; /// Stores the configuration parsed from the environment variables and the /// config file. `Config::Default()` contains None for each setting. From 127d6900d109d30f3b988c14cb4546c157c1240c Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Mon, 5 Feb 2024 16:48:27 -0500 Subject: [PATCH 2/2] Update comment --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index adb27540..21a3adce 100644 --- a/src/config.rs +++ b/src/config.rs @@ -9,8 +9,8 @@ use std::{env::var, fs::read_to_string}; // first request) and contains the instance settings. pub static CONFIG: Lazy = Lazy::new(Config::load); -// This serves as the frontend for the Pushshift API - on removed comments, this URL will -// be the base of a link, to display removed content (on another site). +// This serves as the frontend for an archival API - on removed comments, this URL +// will be the base of a link, to display removed content (on another site). pub const DEFAULT_PUSHSHIFT_FRONTEND: &str = "undelete.pullpush.io"; /// Stores the configuration parsed from the environment variables and the