Problem to solve
The idea is to correctly identify the file paths inside index.html to be replaced with transactions of those files.
Solution
Target index.html file and extract its DOM using JSDOM, further get all the src and href attributes. In this way, we will be able to get all the file paths inside index.html.
Problem to solve The idea is to correctly identify the file paths inside index.html to be replaced with transactions of those files.
Solution Target index.html file and extract its DOM using JSDOM, further get all the src and href attributes. In this way, we will be able to get all the file paths inside index.html.