From e1f3531271093d26d51f14429e6d5894c3cb6e05 Mon Sep 17 00:00:00 2001 From: AndrewLeedham Date: Thu, 24 Sep 2020 23:07:52 +0100 Subject: [PATCH] feat: Add includeIndex option --- README.md | 1 + src/index.d.ts | 1 + src/utils/usePreviewUrl.ts | 1 + utils/index.d.ts | 2 ++ utils/index.js | 25 +++++++++++++++++++++---- 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d189b7da..c65ee1fa 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ module.exports = { port: 9000, openBrowser: true, paramType: 'search', // default is 'hash' + includeIndex: true, // default is false, explicitly includes 'index.html' in links. exampleCode: `