Added frontend and working fetching.
This commit is contained in:
@@ -2,7 +2,10 @@ export default function getProgress(){
|
||||
|
||||
const progress = ref(null as Progress | null);
|
||||
|
||||
fetch('http://localhost:5224/progress')
|
||||
fetch('https://proxy.rbwr.dk/progress', {
|
||||
method: 'GET',
|
||||
headers: {'Content-Type': 'application/json'}
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then((data: Progress) => {
|
||||
if (data && data.percentageOfIpv4Scanned) {
|
||||
|
||||
Reference in New Issue
Block a user