HasanAlrimawi
e1b52c4985
Merge branch 'main' into open-flag-on-serve
...
Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>
2024-11-03 12:33:41 +02:00
Nathan Whitaker
7477c2d706
feat(serve): Support second parameter in deno serve ( #25606 )
...
Closes #24099
2024-09-12 23:32:28 +00:00
HasanAlrimawi
690f6e9963
feat: add --open to deno serve to open server in browser
2024-09-01 14:48:34 +03:00
Bartek Iwańczuk
3e1f98236f
feat: Add Deno.ServeDefaultExport type ( #24879 )
...
Closes https://github.com/denoland/deno/issues/23725
2024-08-05 23:19:09 +02:00
Yazan AbdAl-Rahman
41f8988dc7
fix(http): Adjust hostname display for Windows when using 0.0.0.0 ( #24698 )
...
Fixes #24687
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-28 23:04:05 +02:00
Matt Mastracci
2f8825a935
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 19:45:49 +00:00