implement url cleaning based on ClearURLs rules and logic

This commit is contained in:
m5r
2025-09-20 11:48:38 +02:00
parent ca369dc516
commit 44ebc2b487
15 changed files with 8063 additions and 6424 deletions

View File

@@ -7,9 +7,23 @@
"name": "url-cleaner",
"main": "src/index.ts",
"compatibility_date": "2025-09-20",
"migrations": [
{
"new_sqlite_classes": ["RulesCache"],
"tag": "v1",
},
],
"durable_objects": {
"bindings": [
{
"class_name": "RulesCache",
"name": "RULES_CACHE",
},
],
},
"observability": {
"enabled": true
}
"enabled": true,
},
/**
* Smart Placement
* Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
@@ -40,4 +54,4 @@
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
*/
// "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
}
}