mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-06-07 00:19:56 +08:00
feat: add MIN_ADDRESS_LEN && MAX_ADDRESS_LEN (#304)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user