diff --git a/README.md b/README.md index a8ffbdf..f6cfe27 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Tauri v2 · Rust · React · AmneziaWG · SpoofDPI
-
+
diff --git a/deploy/ld-fdpi-enroll/agent.py b/deploy/ld-fdpi-enroll/agent.py
index a5a35da..6812937 100644
--- a/deploy/ld-fdpi-enroll/agent.py
+++ b/deploy/ld-fdpi-enroll/agent.py
@@ -41,6 +41,7 @@ def th(token):
def rate(c, bucket, limit=5):
now = int(datetime.now(timezone.utc).timestamp())
+ c.execute("DELETE FROM rate WHERE ts < ?", (now - 600,))
row = c.execute("SELECT ts,count FROM rate WHERE bucket=?", (bucket,)).fetchone()
if not row or now - row[0] > 60:
c.execute("INSERT OR REPLACE INTO rate VALUES(?,?,1)", (bucket, now))
diff --git a/package.json b/package.json
index b96579e..f2195d3 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "ld-fdpi",
"private": true,
- "version": "1.7.0",
+ "version": "1.7.1",
"description": "LD FDPI - zero-touch AmneziaWG VPN and SpoofDPI DPI bypass for Windows (Tauri v2, Rust, React)",
"type": "module",
"scripts": {
diff --git a/site/ld-fdpi.html b/site/ld-fdpi.html
index 47b81d9..be86a85 100644
--- a/site/ld-fdpi.html
+++ b/site/ld-fdpi.html
@@ -3,20 +3,20 @@