feat: fix path
This commit is contained in:
parent
96304b91a8
commit
9f199c06f1
|
|
@ -146,7 +146,7 @@ export class PostsService {
|
|||
m.path
|
||||
: m.path,
|
||||
type: 'image',
|
||||
path: process.env.UPLOAD_DIRECTORY + m.path,
|
||||
path: m.path.indexOf('http') === -1 ? process.env.UPLOAD_DIRECTORY + m.path : m.path,
|
||||
})),
|
||||
}))
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue