Skip to content

Commit 1d50228

Browse files
authored
docs(zh): use html extension
html书写成htm
1 parent 6979f5d commit 1d50228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/zh/guide/essentials/history-mode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ const fs = require('fs')
5252
const httpPort = 80
5353

5454
http.createServer((req, res) => {
55-
fs.readFile('index.htm', 'utf-8', (err, content) => {
55+
fs.readFile('index.html', 'utf-8', (err, content) => {
5656
if (err) {
57-
console.log('We cannot open "index.htm" file.')
57+
console.log('We cannot open "index.html" file.')
5858
}
5959

6060
res.writeHead(200, {

0 commit comments

Comments
 (0)