summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSheogorath2018-12-18 14:52:09 +0100
committerSheogorath2018-12-18 14:52:18 +0100
commit0621d7a72d3ed36a120a5b187e2ea07c8dde7c38 (patch)
treed9794094ddde7e11b06c1954c1ead25c2432ff3d /bin
parentb40f14f66dd5446c1a2a9b20b3065d5c4726c3a8 (diff)
Fix usage of new URL API
Due to the deprecation of the old `url`-API provided by NodeJS we replaced `url.resolve` with `url.URL.resolve`, which doesn't exist. This patch fixes the local filesystem upload of CodiMD by using the new API correctly. Creating an URL object and using its href. Some more background: https://nodejs.org/api/url.html#url_url_href https://nodejs.org/api/url.html#url_url_resolve_from_to Fixes https://github.com/hackmdio/codimd/issues/1102 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions