Fixed viewing
This commit is contained in:
parent
6d8e8edc33
commit
3e4257d3d4
1 changed files with 5 additions and 7 deletions
|
@ -86,13 +86,11 @@ export async function load({ params, url }) {
|
|||
date = fs.statSync(currDirectory).mtime;
|
||||
|
||||
return {
|
||||
body: {
|
||||
path, contents, raw: true, currPath: '/api/file/' + params.path,
|
||||
width: width, height: height + "px",
|
||||
extension: extension,
|
||||
date: date + "",
|
||||
isDark: isDark
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue