juzhiyuan commented on a change in pull request #205: URL: https://github.com/apache/apisix-website/pull/205#discussion_r582808724
########## File path: sync-docs.js ########## @@ -38,7 +39,10 @@ const replaceMDImageUrl = (project, paths) => { .match(/\((.+?)\)/g)[0] .replace("(", "") .replace(")", "") - .replaceAll("../", ""); + .replace("../", "") + .replace("../", "") + .replace("../", "") + .replace("../", ""); Review comment: because replaceAll function is not available here, so I use a trick here. This JS file will get improved in the future. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org