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

@@ -32,6 +32,10 @@ export default defineConfig({
target: "http://localhost:10002",
changeOrigin: true
},
"/profile/upload-image": {
target: "http://localhost:10002",
changeOrigin: true
},
"/api": {
target: "http://localhost:10002",
changeOrigin: true