Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cf worker hello world project and enable deploy via GITHUB action #78

Merged
merged 19 commits into from
Dec 17, 2022
Prev Previous commit
Next Next commit
add cf
  • Loading branch information
zizifn committed Dec 17, 2022
commit 2293882ac496ef0e33f41fded7b81ca318001aef
4 changes: 3 additions & 1 deletion apps/cf-worker-vless/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
export default {
async fetch(request: Request, env: any) {
return new Response(
`request method111: ${request.method}, and env is ${JSON.stringify(env)}`
`request method111: ${request.method}, and env is ${JSON.stringify(
env
)} 23点42分`
);
},
};