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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user