Update browser sync to support urls without extensions

This commit is contained in:
Hrvoje Šimić 2019-04-07 19:39:55 +02:00 committed by Taylor Bryant
parent 753f32547c
commit 3afb79da6d
1 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ task("startServer", () => {
open: "local",
port: 4000,
server: {
baseDir: siteRoot
baseDir: siteRoot,
serveStaticOptions: {
extensions: ["html"]
}
}
});