Add user snapshot settings management

This commit is contained in:
Cohee
2024-04-11 01:44:48 +03:00
parent c92df1168d
commit 1990a2d9bd
4 changed files with 301 additions and 11 deletions

View File

@@ -561,7 +561,6 @@ function createRouteHandler(directoryFn) {
const filePath = decodeURIComponent(req.params[0]);
return res.sendFile(filePath, { root: directory });
} catch (error) {
console.error(error);
return res.sendStatus(404);
}
};