worker: Add Cloudflare Workers & Pages support

This commit is contained in:
2025-01-29 21:54:21 +08:00
parent 26f610e00c
commit 185ba4ad5b
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
import handler from "./common";
export default {
fetch: async (request) => handler(request),
};
+5
View File
@@ -0,0 +1,5 @@
name = "dohna-ns"
compatibility_date = "2024-09-02"
main = "_worker.js"
no_bundle = false
minify = true