Skip to content

Commit 3659b65

Browse files
Make ./data the default root folder (#510)
* Make ./data the default root folder * Add ./data to .gitignore * Fix typo in help text
1 parent eca2d4b commit 3659b65

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ npm-debug.log
1616
/.db
1717
.nyc_output
1818
coverage
19-
/index.html
20-
/index.html.acl
19+
/data

bin/lib/options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ module.exports = [
1010
// },
1111
{
1212
name: 'root',
13-
help: "Root folder to serve (defaut: './')",
13+
help: "Root folder to serve (default: './data')",
1414
question: 'Path to the folder you want to serve. Default is',
15-
default: './',
15+
default: './data',
1616
prompt: true,
1717
filter: (value) => path.resolve(value)
1818
},

data/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)