From 231f4a5851372bd653ca6125bc00c025ef0ca77e Mon Sep 17 00:00:00 2001 From: Steven Chang <52058700+Steven-Chang1114@users.noreply.github.com> Date: Wed, 20 May 2020 19:39:55 +0800 Subject: [PATCH] docs: typo in node.js example (#3205) --- docs/guide/essentials/history-mode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index 5eeaad033..2b2c50686 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -52,9 +52,9 @@ const fs = require('fs') const httpPort = 80 http.createServer((req, res) => { - fs.readFile('index.htm', 'utf-8', (err, content) => { + fs.readFile('index.html', 'utf-8', (err, content) => { if (err) { -      console.log('We cannot open "index.htm" file.') +      console.log('We cannot open "index.html" file.') } res.writeHead(200, {