Option to open links in the same tab. Api upload icon. Render image icon instead of MDI. Dockerfile client dependencies fix.

This commit is contained in:
unknown
2021-06-23 14:15:14 +02:00
parent e3ed429da1
commit 6c067bee31
18 changed files with 214 additions and 13 deletions

View File

@@ -14,11 +14,18 @@ exports.createApp = asyncWrapper(async (req, res, next) => {
});
let app;
let _body = { ...req.body };
if (req.file) {
console.log(req.file.filename)
_body.icon = req.file.filename;
}
if (pinApps) {
if (parseInt(pinApps.value)) {
app = await App.create({
...req.body,
..._body,
isPinned: true
})
} else {