Skip to content

Commit 2cb20d3

Browse files
authored
Fix error and improve
1 parent 6be185f commit 2cb20d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jsftpd is an FTP server written for node.js. It's feature set is:
99

1010
## Install
1111

12-
```{code-block} javascript
12+
```{code-block} shell
1313
npm install jsftpd
1414
```
1515

@@ -20,7 +20,7 @@ To get an FTP server running quickly, the below code will get you started by all
2020
```{code-block} javascript
2121
const { ftpd } = require('jsftpd')
2222
23-
const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'})
23+
const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'}})
2424
2525
server.start()
2626
```

0 commit comments

Comments
 (0)