Skip to content

Commit

Permalink
Update server example on homepage (denoland#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored Mar 12, 2020
1 parent 88c31aa commit a3a62c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import CodeBlock from "../component/CodeBlock";
import Title from "../component/Title";
import "./Home.css";

const code = `import { serve } from "https://deno.land/std@v0.30.0/http/server.ts";
const code = `import { serve } from "https://deno.land/std@v0.36.0/http/server.ts";
const s = serve({ port: 8000 });
console.log("http://localhost:8000/");
for await (const req of s) {
Expand Down

0 comments on commit a3a62c9

Please sign in to comment.