Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
SatCat
/
deno
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
deno
/
main.ts
SatCat
Update main.ts
a29d07e
verified
12 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
212 Bytes
import
{ serve }
from
"./deps.ts"
;
const
PORT
=
8000
;
console
.
log
(
`Server started on port
${PORT}
`
);
Deno
.
serve
(
{
port
:
PORT
,
hostname
:
"0.0.0.0"
},
(
_req
) =>
new
Response
(
"Hello, world from Deno"
)
);