diff --git a/src/config.ts b/src/config.ts index e1cea36c7..852e70249 100644 --- a/src/config.ts +++ b/src/config.ts @@ -192,6 +192,7 @@ function normalizePage(spec: any): Page { let {name, path} = spec; name = String(name); path = String(path); + if (path.endsWith("/")) path = `${path}index`; return {name, path}; }