Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit afbb854

Browse files
committed
Redirect to WHATWG fetch
1 parent c53104f commit afbb854

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
uses: denoland/deployctl@v1
2323
with:
2424
project: "wintercg-fetch"
25-
entrypoint: "https://deno.land/[email protected]/http/file_server.ts"
25+
entrypoint: ./server.ts
2626
root: out/

out/server.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Deno.serve((req) => {
2+
return Response.redirect("https://fetch.spec.whatwg.org", 301);
3+
});

0 commit comments

Comments
 (0)