archethic-foundation / aeweb-cli

AEWeb CLI to deploy files on Archethic
GNU Affero General Public License v3.0
5 stars 11 forks source link

[feature] identify the file paths #37

Closed internet-zero closed 2 years ago

internet-zero commented 2 years ago

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.