From 9dfa9c0a0e877dcea475693c0e09e5fdc45b9f6c Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Wed, 3 Jan 2018 19:18:57 +0000 Subject: [PATCH] Support disabling index serving --- lib/optionsSchema.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/optionsSchema.json b/lib/optionsSchema.json index 32ceb8d7bd..6c85216e76 100644 --- a/lib/optionsSchema.json +++ b/lib/optionsSchema.json @@ -320,8 +320,15 @@ "type": "boolean" }, "index": { - "description": "The filename that is considered the index file.", - "type": "string" + "description": "The filename that is considered the index file, or `false` to proxy the root path", + "anyOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] }, "log": { "description": "Customize info logs for webpack-dev-middleware.",