@@ -42,25 +42,25 @@ function displayResults(data) {
42
42
statusDiv . style . color = "white" ;
43
43
statusDiv . textContent = `Status: ${ data . status } ` ;
44
44
conclusionDiv . textContent = data . conclusion ;
45
- detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free-webapp .vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
45
+ detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free.vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
46
46
} else if ( data . status === "Ok" ) {
47
47
statusDiv . style . backgroundColor = "blue" ;
48
48
statusDiv . style . color = "white" ;
49
49
statusDiv . textContent = `Status: ${ data . status } ` ;
50
50
conclusionDiv . textContent = "This website is safe, but some issues were reported. Please proceed with caution." ;
51
- detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free-webapp .vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
51
+ detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free.vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
52
52
} else if ( data . status === "Warning" ) {
53
53
statusDiv . style . backgroundColor = "blue" ;
54
54
statusDiv . style . color = "white" ;
55
55
statusDiv . textContent = `Status: ${ data . status } ` ;
56
56
conclusionDiv . textContent = "This website is not safe, issues were reported. Please proceed with caution." ;
57
- detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free-webapp .vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
57
+ detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free.vercel.app/detail/${ data . url } " target="_blank">Details</a>` ;
58
58
} else {
59
59
statusDiv . style . backgroundColor = "red" ;
60
60
statusDiv . style . color = "white" ;
61
61
statusDiv . textContent = `Status: ${ data . status } ` ;
62
62
conclusionDiv . textContent = "This website may not be safe. Avoid." ;
63
- detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free-webapp .vercel.app/detail/${ data . url } " target="_blank">details</a>` ;
63
+ detailsDiv . innerHTML = `<a class="big-txt" href="https://fraud-free.vercel.app/detail/${ data . url } " target="_blank">details</a>` ;
64
64
}
65
65
}
66
66
0 commit comments