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

Commit

Permalink
Redirect to WHATWG fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
andreubotella committed Nov 30, 2024
1 parent c53104f commit afbb854
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
uses: denoland/deployctl@v1
with:
project: "wintercg-fetch"
entrypoint: "https://deno.land/[email protected]/http/file_server.ts"
entrypoint: ./server.ts
root: out/
3 changes: 3 additions & 0 deletions out/server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Deno.serve((req) => {
return Response.redirect("https://fetch.spec.whatwg.org", 301);
});

0 comments on commit afbb854

Please sign in to comment.