mirror of
https://github.com/LittleChest/Dohna-NS.git
synced 2026-05-06 22:44:50 +08:00
worker: Add Cloudflare Workers & Pages support
This commit is contained in:
parent
26f610e00c
commit
185ba4ad5b
5
_worker.js
Normal file
5
_worker.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import handler from "./common";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
fetch: async (request) => handler(request),
|
||||||
|
};
|
||||||
5
wrangler.toml
Normal file
5
wrangler.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name = "dohna-ns"
|
||||||
|
compatibility_date = "2024-09-02"
|
||||||
|
main = "_worker.js"
|
||||||
|
no_bundle = false
|
||||||
|
minify = true
|
||||||
Loading…
x
Reference in New Issue
Block a user