Skip to content

Commit

Permalink
fix broken path in chat example
Browse files Browse the repository at this point in the history
  • Loading branch information
disizali committed Apr 6, 2020
1 parent 6720a0d commit 5bd58cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/examples/chat/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ listenAndServe({ port: 8080 }, async (req) => {
});
} else {
// server launched by deno run ./server.ts
const file = await Deno.open(u.pathname);
const file = await Deno.open("./index.html");
req.respond({
status: 200,
headers: new Headers({
Expand Down

0 comments on commit 5bd58cb

Please sign in to comment.