mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on Avatar upload image. Now working.
This commit is contained in:
@@ -32,7 +32,7 @@ export const uploadImageAction = userAction
|
||||
if (env.NODE_ENV === "production") {
|
||||
// url = `https://${env.S3_ENDPOINT}/${bucketName}/${fileName}`
|
||||
} else {
|
||||
url = `http://localhost:8887/${localDir}${fileName}`
|
||||
url = `http://localhost:8887/uploads/${fileName}`
|
||||
}
|
||||
return {
|
||||
data: {result: result, url: url},
|
||||
|
||||
Reference in New Issue
Block a user