summaryrefslogtreecommitdiff
path: root/public/js/lib/config/index.js
diff options
context:
space:
mode:
authorSheogorath2018-06-24 01:00:20 +0200
committerSheogorath2018-06-24 01:00:29 +0200
commitf69e77de424ea763a87a04c9d66196d9353c8690 (patch)
tree171ea2ae463a3bdf531423f0753a46482caf2b54 /public/js/lib/config/index.js
parent7c7cc289f2c2b2e33a32ea32a6e97ea1410cc63e (diff)
Fix broken images in PDF caused by misconfigred server URL
As it turns out, if the serverURL can't be generated correctly, HackMD will use relative paths in image upload. This causes broken links in PDF. With this commit we force absolute links during PDF creation which hopefully fixes the problem. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/js/lib/config/index.js')
0 files changed, 0 insertions, 0 deletions