Skip to content

Commit

Permalink
[FIX] change path on js call too.
Browse files Browse the repository at this point in the history
  • Loading branch information
skapin authored Feb 15, 2024
1 parent d7dcec4 commit 7f8aa83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions boofuzz/web/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function continually_update_current_run_info()
{
setTimeout(continually_update_current_run_info, 100);
}
fetch(new Request('/api/current-run'), {method: 'GET'})
fetch(new Request('api/current-run'), {method: 'GET'})
.then(function(response) { return response.json() })
.then(update_repeat)
.catch(_repeat_only);
Expand All @@ -158,13 +158,13 @@ function continually_update_current_test_case_log()
setTimeout(continually_update_current_test_case_log, 100);
}
if (test_case_log_snap) {
fetch(new Request('/api/current-test-case'), {method: 'GET'})
fetch(new Request('api/current-test-case'), {method: 'GET'})
.then(function(response) { return response.json() })
.then(update_repeat)
.catch(_repeat_only);
}
else {
fetch(new Request(`/api/test-case/${test_case_log_index}`), {method: 'GET'})
fetch(new Request(`api/test-case/${test_case_log_index}`), {method: 'GET'})
.then(function(response) { return response.json() })
.then(update_same_case_repeat)
.catch(_repeat_only);
Expand Down
2 changes: 1 addition & 1 deletion boofuzz/web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<!--<meta http-equiv="refresh" content="5">-->
<title>boofuzz Fuzz Control</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/boofuzz.css'">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/boofuzz.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon-32x32.ico') }}">
<link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='favicon.svg') }}" sizes="any">
</head>
Expand Down

0 comments on commit 7f8aa83

Please sign in to comment.