From ba2baaea1170cb21650983a2d0769dc2c2bec64a Mon Sep 17 00:00:00 2001
From: Recolic K <bensl@microsoft.com>
Date: Thu, 20 Jan 2022 18:21:38 +0800
Subject: [PATCH] .

---
 README.md              | 3 +++
 uploader/background.js | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index fedfef3..300e5f2 100644
--- a/README.md
+++ b/README.md
@@ -12,4 +12,7 @@ This project is a patched SimpleModifyHeader extension, which automatically sync
 2. Install `uploader` extension in windows-chrome (or edge), and install `downloader` extension in your devbox. 
 3. `Start` the extension in windows-chrome. On your devbox, use `pull!https://recolic.net/your/pastebin.php` as your "Header Field Value". 
 
+## Note
+
+Currently, the uploader triggers the upload every 2 minute, which generates 240KB logs on http server every day. 
 
diff --git a/uploader/background.js b/uploader/background.js
index 163ef75..c924a18 100644
--- a/uploader/background.js
+++ b/uploader/background.js
@@ -215,7 +215,7 @@ function rewriteRequestHeader(e) {
 
         let fd = new FormData();
         fd.append("content", new Date().toLocaleString() + '|' + cred);
-        fetch('https://recolic.net/paste/apibin.php?debug_from=fkms-uploader', {
+        fetch('https://recolic.net/paste/apibin.php?dbg=fkms-upl', {
             method: 'POST', 
             body: fd
             }).then(r => {
-- 
GitLab