1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 13:58:08 +00:00
This commit is contained in:
Nebel 2024-04-22 12:15:30 +09:00
parent 08f797b3f2
commit 65d2e4a71f
Signed by: nebel
GPG key ID: 79807D08C6EF6460
2 changed files with 21 additions and 0 deletions

13
deno/deno.json Normal file
View file

@ -0,0 +1,13 @@
{
"tasks": {
"dev": "deno run --watch main.ts"
},
"deploy": {
"project": "d7ff4021-31bb-4663-b015-12a9e7b9bb64",
"exclude": [
"**/node_modules"
],
"include": [],
"entrypoint": "main.ts"
}
}

8
deno/main.ts Normal file
View file

@ -0,0 +1,8 @@
const now = new Date();
if (import.meta.main) {
Deno.serve(() => new Response(`${now}: Hello World!`));
}
// $ curl https://great-crow-36.deno.dev/
// Mon Apr 22 2024 03:13:21 GMT+0000 (Coordinated Universal Time): Hello World!