Upload image

- Image upload works on profile
- added multer into package.json for handling image files
- files are saved under /db/images/users/user-id/profile.ext
This commit is contained in:
2026-03-19 20:25:23 -04:00
parent 58589c56dd
commit dd1ec2c374
5 changed files with 73 additions and 19 deletions

View File

@@ -2,8 +2,6 @@ import "./AppWindow.js"
import "../Profile/Profile.js"
class AppWindowContainer extends Shadow {
isProfileOpen = false
render() {
ZStack(() => {

View File

@@ -9,7 +9,6 @@ class Sidebar extends Shadow {
.fontFamily("Arial")
.marginLeft(2, em)
.onTap(function (done) {
console.log("hello")
if(done) {
if (this.innerText === "Logout") {
global.onLogout()