Skip to content

Commit

Permalink
serve foo.html as foo
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 31, 2020
1 parent e88c3e7 commit d01e967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const defaultSettings = {
dirs: true,
index: true,
scan: true,
extensions: ['html'],
recent: [],
};
const maxRecent = 10;
Expand Down Expand Up @@ -283,6 +284,7 @@ if (isShell) {
settings.cors = args.cors;
settings.ssl = args.ssl;
settings.root = args._[0];
settings.extensions = ['html'];
}

app.on('ready', () => {
Expand Down

0 comments on commit d01e967

Please sign in to comment.