ShoyuVanilla / FoundryVTT-Chat-Portrait

Other
14 stars 24 forks source link

Bug: Some images use absolute rather than relative paths #115

Closed Lrizika closed 2 years ago

Lrizika commented 2 years ago

Module Version: v0.7.4

Some image paths use relative (/image/path.ext) rather than relative (image/path.ext) paths, which causes those paths to be incorrect for Foundry installations that are not at the base path of the server (e.g. https://myserver.tld/foundry/).

Current behavior: Screenshot from 2022-09-04 17-40-33

Expected behavior: Screenshot from 2022-09-04 17-40-43

This can be fixed by removing the preceding slash from paths.

p4535992 commented 2 years ago

Should be solved with 0.8.0, ty for the hint