From adc9a754df705452cce111aa83941b686b01acda Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Sat, 6 Jun 2026 05:53:39 +0000 Subject: [PATCH] fix: TIL index.json is indeed a thing Signed-off-by: Okiki Ojo --- core/plugins/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plugins/http.ts b/core/plugins/http.ts index 36c584e..824be5c 100644 --- a/core/plugins/http.ts +++ b/core/plugins/http.ts @@ -182,7 +182,7 @@ export async function fetchAssets( export const FilePaths = ["", "/index"]; /** File extensions to probe */ -export const FileEndings = ["", ".js", ".mjs", ".ts", ".tsx", ".cjs", ".jsx", ".mts", ".cts"]; +export const FileEndings = ["", ".js", ".mjs", ".ts", ".tsx", ".cjs", ".jsx", ".mts", ".cts", ".json"]; /** All combinations of path + extension to try */ export const AllEndingVariants = Array.from( -- 2.51.2