fix: logic fix

This commit is contained in:
Derrick Hammer 2023-11-18 03:34:34 -05:00
parent bb4909948e
commit 34e6e99287
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}