This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-12-11 18:17:48 -05:00
Code
Issues
Packages
1
Wiki
Activity
d6661884fd
denoland-deno
/
tests
/
specs
/
serve
/
basic
/
main.out
3 lines
66 B
Text
Raw
Normal View
History
Unescape
Escape
feat(serve): Support second parameter in deno serve (#25606) Closes #24099
2024-09-12 19:32:28 -04:00
Check [WILDCARD]
feat: Add `deno serve` subcommand (#23511) By default, `deno serve` will assign port 8000 (like `Deno.serve`). Users may choose a different port using `--port`. `deno serve /tmp/file.ts` `server.ts`: ```ts export default { fetch(req) { return new Response("hello world!\n"); }, }; ```
2024-04-24 15:45:49 -04:00
deno serve: Listening on http://localhost:12345/
Copy permalink