fix: logic fix
This commit is contained in:
parent
bb4909948e
commit
34e6e99287
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue