parent
ac3f80b5cb
commit
1ea1949d86
@ -1,7 +1,4 @@
|
||||
import { serve } from "https://deno.land/std@0.66.0/http/server.ts";
|
||||
import { serve } from "https://deno.land/std@0.125.0/http/server.ts";
|
||||
import requestHandler from "./index.ts";
|
||||
|
||||
const s = serve({ port: 8080 });
|
||||
for await (const req of s) {
|
||||
requestHandler(req);
|
||||
}
|
||||
serve(requestHandler, { port: 8080 });
|
||||
|
@ -1,2 +1 @@
|
||||
export { ServerRequest } from "https://deno.land/std@0.66.0/http/server.ts";
|
||||
export { soxa } from "https://deno.land/x/soxa@1.4/mod.ts";
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"builds":[{
|
||||
"src": "**/index.ts",
|
||||
"use": "vercel-deno@0.7.10"
|
||||
"use": "vercel-deno@1.1.1"
|
||||
}],
|
||||
"routes": [{ "src": "/.*", "dest": "/" }]
|
||||
}
|
||||
|
Loading…
Reference in new issue