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;
|
date = fs.statSync(currDirectory).mtime;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
body: {
|
path, contents, raw: true, currPath: '/api/file/' + params.path,
|
||||||
path, contents, raw: true, currPath: '/api/file/' + params.path,
|
width: width, height: height + "px",
|
||||||
width: width, height: height + "px",
|
extension: extension,
|
||||||
extension: extension,
|
date: date + "",
|
||||||
date: date + "",
|
isDark: isDark
|
||||||
isDark: isDark
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue