Yiyiyimu commented on a change in pull request #205:
URL: https://github.com/apache/apisix-website/pull/205#discussion_r582805003
##########
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:
I noticed this change is in
https://github.com/apache/apisix-website/pull/205/commits/eda04d98b37a25dbd8dab5383b7e6372256c69fc
to pass CI, but it seems a bit hacky and I can't get what's the meaning of
this 🤣
----------------------------------------------------------------
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:
[email protected]