HackMD/lib
Sheogorath f69e77de42
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>
2018-06-24 01:00:29 +02:00
..
config Fix possible error if HackMD is started with wrong workdir 2018-06-23 23:01:01 +02:00
migrations Merge pull request #830 from SISheogorath/feature/GDPR 2018-06-17 23:33:57 +02:00
models Merge pull request #830 from SISheogorath/feature/GDPR 2018-06-17 23:33:57 +02:00
ot Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
web Fix possible error if HackMD is started with wrong workdir 2018-06-23 23:01:01 +02:00
workers refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
csp.js Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
history.js Improve history migration performance 2018-03-10 16:51:00 +08:00
letter-avatars.js Move letter-avatars into own request 2018-04-17 19:06:59 +02:00
logger.js refactor(logger): Refactor logger.js 2017-05-08 19:24:37 +08:00
realtime.js Fix requests for deleted users 2018-05-25 16:15:18 +02:00
response.js Fix broken images in PDF caused by misconfigred server URL 2018-06-24 01:00:29 +02:00
utils.js switch to __dirname 2017-06-02 11:34:35 +01:00