1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Fix links on website (#1511)

This commit is contained in:
Ryan Dahl 2019-01-13 15:52:42 -05:00 committed by GitHub
parent 8ae178e9ce
commit b1c59d7231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,10 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<img src="https://travis-ci.com/denoland/deno.svg?branch=master"/> <a href="https://travis-ci.com/denoland/deno"><img src="https://travis-ci.com/denoland/deno.svg?branch=master"/></a>
</td> </td>
<td> <td>
<img src="https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x/branch/master?svg=true"/> <a href="https://ci.appveyor.com/project/deno/deno"><img src="https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x/branch/master?svg=true"/></a>
</td> </td>
</tr> </tr>
</table> </table>
@ -56,13 +56,13 @@ Try a Deno program. Install by bash alias.
This one serves a local directory in HTTP. This one serves a local directory in HTTP.
<pre> <pre>
alias file_server="deno \ alias file_server="deno \
https://deno.land/x/net/file_server.ts --allow-net" https://deno.land/x/http/file_server.ts --allow-net"
</pre> </pre>
Run it: Run it:
<pre> <pre>
% file_server . % file_server .
Downloading https://deno.land/x/net/file_server.ts... Downloading https://deno.land/x/http/file_server.ts...
[...] [...]
HTTP server listening on http://0.0.0.0:4500/ HTTP server listening on http://0.0.0.0:4500/
</pre> </pre>