fix: set file if not default index

This commit is contained in:
Derrick Hammer 2023-11-18 08:39:47 -05:00
parent 165ead6a80
commit 47f61909f5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ export default class S5Provider implements ContentProvider {
if (!(urlPath in meta.paths)) { if (!(urlPath in meta.paths)) {
throw new Error("404"); throw new Error("404");
} }
file = meta.paths[urlPath];
} }
break; break;