feat: add MIN_ADDRESS_LEN && MAX_ADDRESS_LEN (#304)

This commit is contained in:
Dream Hunter
2024-06-06 21:44:22 +08:00
committed by GitHub
parent 6225f6521a
commit 0db611bb3e
11 changed files with 50 additions and 11 deletions

View File

@@ -1,4 +1,10 @@
const API_PATHS = ["/api/", "/open_api/", "/user_api/", "/admin/"]
const API_PATHS = [
"/api/",
"/open_api/",
"/user_api/",
"/admin/",
"/telegram/"
];
export async function onRequest(context) {
const reqPath = new URL(context.request.url).pathname;