Merge pull request #199 from normoes/add_autorefresh_content_type

Add autorefresh Content-Type.
This commit is contained in:
moneroexamples 2019-12-09 06:49:57 +08:00 committed by GitHub
commit e7091da33a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -808,7 +808,7 @@ main(int ac, const char* av[])
([&]() { ([&]() {
uint64_t page_no {0}; uint64_t page_no {0};
bool refresh_page {true}; bool refresh_page {true};
return xmrblocks.index2(page_no, refresh_page); return myxmr::htmlresponse(xmrblocks.index2(page_no, refresh_page));
}); });
} }