From 34e6e99287411c4b8732f56a47a8498a57b10174 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 03:34:34 -0500 Subject: [PATCH] fix: logic fix --- src/backend/providers/s5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/providers/s5.ts b/src/backend/providers/s5.ts index 0892799..a7fd0a1 100644 --- a/src/backend/providers/s5.ts +++ b/src/backend/providers/s5.ts @@ -15,7 +15,7 @@ export default class S5Provider implements ContentProvider { let urlPath = path; const parsedPath = nodePath.parse(urlPath); - if (!cid.startsWith("/s5/") && cid.startsWith("/sia/")) { + if (!cid.startsWith("/s5/") && !cid.startsWith("/sia/")) { err = "404"; }