From 5c3acbb19767658cd1ffc5164b56a2eb8c3c60ac Mon Sep 17 00:00:00 2001 From: songtianlun Date: Tue, 8 Apr 2025 15:08:06 +0800 Subject: [PATCH] chore: update indexnow key and remove old file - Update INDEXNOW_KEY value to a new key. - Remove the old key file (339ecd3e9cf648c29b767f5673329e48.txt). - Create a new key file (79701a0df5814ed387163513269fd4dd.txt). This change is necessary due to the rotation of the indexing key. The old key is no longer valid, and the update ensures continued functionality with IndexNow services. All references to the old key have been removed to avoid confusion and ensure that the new key is correctly used in the worker. --- app/workers/submit_to_indexnow_worker.rb | 2 +- public/339ecd3e9cf648c29b767f5673329e48.txt | 1 - public/79701a0df5814ed387163513269fd4dd.txt | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 public/339ecd3e9cf648c29b767f5673329e48.txt create mode 100644 public/79701a0df5814ed387163513269fd4dd.txt diff --git a/app/workers/submit_to_indexnow_worker.rb b/app/workers/submit_to_indexnow_worker.rb index 6e604a8..8213805 100644 --- a/app/workers/submit_to_indexnow_worker.rb +++ b/app/workers/submit_to_indexnow_worker.rb @@ -8,7 +8,7 @@ class SubmitToIndexnowWorker sidekiq_options retry: 3, queue: :indexnow - INDEXNOW_KEY = "339ecd3e9cf648c29b767f5673329e48" + INDEXNOW_KEY = "79701a0df5814ed387163513269fd4dd" INDEXNOW_ENDPOINTS = [ "https://www.bing.com/indexnow", "https://api.indexnow.org/indexnow" diff --git a/public/339ecd3e9cf648c29b767f5673329e48.txt b/public/339ecd3e9cf648c29b767f5673329e48.txt deleted file mode 100644 index 4587c3a..0000000 --- a/public/339ecd3e9cf648c29b767f5673329e48.txt +++ /dev/null @@ -1 +0,0 @@ -339ecd3e9cf648c29b767f5673329e48 \ No newline at end of file diff --git a/public/79701a0df5814ed387163513269fd4dd.txt b/public/79701a0df5814ed387163513269fd4dd.txt new file mode 100644 index 0000000..5acde90 --- /dev/null +++ b/public/79701a0df5814ed387163513269fd4dd.txt @@ -0,0 +1 @@ +79701a0df5814ed387163513269fd4dd \ No newline at end of file