Skip to content

Commit

Permalink
Update CopyJsOfThisSite.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Dec 23, 2023
1 parent 019fec5 commit b1c2608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/knife/CopyJsOfThisSite.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public String findUrls(IHttpRequestResponse message){
if (referUrl == null || url== null || code <=0) {
continue;
}
if (!url.toString().toLowerCase().endsWith(".js")) {
if (!url.toString().toLowerCase().endsWith(".js") || !url.toString().toLowerCase().endsWith(".js.map")) {
continue;
}
if (referUrl.toLowerCase().startsWith(siteBaseUrl.toLowerCase()+"/")) {
Expand Down

0 comments on commit b1c2608

Please sign in to comment.