mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
first commit
This commit is contained in:
parent
1e6cc59ed4
commit
eb9915af3e
2 changed files with 5650 additions and 0 deletions
5640
server.bundle.js
Normal file
5640
server.bundle.js
Normal file
File diff suppressed because it is too large
Load diff
10
server.ts
Normal file
10
server.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { serve } from "https://deno.land/std@0.56.0/http/server.ts";
|
||||
|
||||
async function main() {
|
||||
const port = 8000;
|
||||
console.log(`http://localhost:${port}/`);
|
||||
for await (const req of serve({ port })) {
|
||||
req.respond({ body: "Hello World\n" });
|
||||
}
|
||||
}
|
||||
main();
|
Loading…
Add table
Reference in a new issue