mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Fix folder path #683
This commit is contained in:
parent
eccf84f3bc
commit
f3231d5ab2
@ -58,7 +58,7 @@ export class EmailMediaMessenger {
|
||||
let htmlMiddle = '';
|
||||
for (let i = 0; i < media.length; ++i) {
|
||||
const thPath = await this.getThumbnail(media[i]);
|
||||
const linkUrl = Utils.concatUrls(Config.Server.publicUrl, '/gallery/', path.join(media[i].directory.path, media[i].directory.name));
|
||||
const linkUrl = Utils.concatUrls(Config.Server.publicUrl, '/gallery/',encodeURIComponent(path.join(media[i].directory.path, media[i].directory.name)));
|
||||
const location = (media[i].metadata as PhotoMetadata).positionData?.country ?
|
||||
(media[i].metadata as PhotoMetadata).positionData?.country :
|
||||
((media[i].metadata as PhotoMetadata).positionData?.city ?
|
||||
|
Loading…
Reference in New Issue
Block a user