number format dashboard + improve scrape cache

This commit is contained in:
xiaomlove
2023-03-05 18:15:31 +08:00
parent 0107d51a7d
commit e59cb7911c
5 changed files with 31 additions and 30 deletions

View File

@@ -45,10 +45,10 @@ function block_browser()
function benc_resp($d)
{
do_log(nexus_json_encode($d));
benc_resp_raw(\Rhilip\Bencode\Bencode::encode($d));
}
function benc_resp_raw($x) {
do_log($x);
header("Content-Type: text/plain; charset=utf-8");
header("Pragma: no-cache");