Skip to content
Snippets Groups Projects
Unverified Commit 91ff490a authored by Jason Hall's avatar Jason Hall Committed by GitHub
Browse files

Set Accept header in dynamic counter requests (#594)


Signed-off-by: default avatarJason Hall <jasonhall@redhat.com>
parent 97f2f392
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
<script type="text/javascript">
const url = '/api/v1/log/';
function update() {
fetch(url).then((resp) => {
fetch(url, {headers: {'Accept': 'application/json'}}).then((resp) => {
resp.json().then((j) => {
let count = j.treeSize;
document.getElementById('count').innerText = count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment