diff --git a/_src/_includes/snippets/commands/options.html b/_src/_includes/snippets/commands/options.html
index bd0ecfc..a16a6a8 100644
--- a/_src/_includes/snippets/commands/options.html
+++ b/_src/_includes/snippets/commands/options.html
@@ -46,6 +46,11 @@
Show a directory listing for the server |
+
+ --extensions |
+ Specify file extension fallbacks |
+
+
--proxy |
Proxy an existing server |
diff --git a/_src/_includes/snippets/options/server.js b/_src/_includes/snippets/options/server.js
index 81d647c..910ebff 100644
--- a/_src/_includes/snippets/options/server.js
+++ b/_src/_includes/snippets/options/server.js
@@ -20,6 +20,12 @@ server: {
index: "index.htm"
}
+// Serve files from the app directory, with custom file extension fallbacks
+server: {
+ baseDir: "app",
+ extensions: ["html","json"]
+}
+
// Since version 1.2.1
// The key is the url to match
// The value is which folder to serve (relative to your current working directory)
diff --git a/docs/command-line/index.html b/docs/command-line/index.html
index a93c276..6ca4650 100644
--- a/docs/command-line/index.html
+++ b/docs/command-line/index.html
@@ -119,6 +119,11 @@
Show a directory listing for the server |
+
+ --extensions |
+ Specify file extension fallbacks |
+
+
--proxy |
Proxy an existing server |
@@ -191,6 +196,7 @@
+
Files Examples
^ TOP
diff --git a/docs/options/index.html b/docs/options/index.html
index e52281e..11580e5 100644
--- a/docs/options/index.html
+++ b/docs/options/index.html
@@ -237,6 +237,12 @@
index: "index.htm"
}
+
+server: {
+ baseDir: "app",
+ extensions: ["html","json"]
+}
+