diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c75a9d079..0a64e8a24 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,5 +22,5 @@ jobs: uses: denoland/deployctl@v1 with: project: "wintercg-fetch" - entrypoint: "https://deno.land/std@0.134.0/http/file_server.ts" + entrypoint: ./server.ts root: out/ diff --git a/out/server.ts b/out/server.ts new file mode 100644 index 000000000..971e87929 --- /dev/null +++ b/out/server.ts @@ -0,0 +1,3 @@ +Deno.serve((req) => { + return Response.redirect("https://fetch.spec.whatwg.org", 301); +});