From 47f61909f5b153b46d1c090cde81bfee773ef2cf Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 08:39:47 -0500 Subject: [PATCH] fix: set file if not default index --- src/backend/providers/s5.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/providers/s5.ts b/src/backend/providers/s5.ts index 37a0044..77df839 100644 --- a/src/backend/providers/s5.ts +++ b/src/backend/providers/s5.ts @@ -55,6 +55,7 @@ export default class S5Provider implements ContentProvider { if (!(urlPath in meta.paths)) { throw new Error("404"); } + file = meta.paths[urlPath]; } break;