File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737
3838 # statistics
39- location = /fast_statistics.json {
40- alias /var/www/stats/fast_statistics.json ;
39+ location = /fast_statistics {
40+ alias /var/www/stats/fast_statistics;
4141 add_header Cache-Control "no-cache, must-revalidate" ;
4242 }
4343
Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ <h2>Графики всякие (изменить название)</h2>
758758 // fast statictics
759759 async function loadFastStats ( ) {
760760 try {
761- const resp = await fetch ( 'https://147.45.139.11:7881/fast_statistics.json ' ) ;
761+ const resp = await fetch ( 'https://147.45.139.11:7881/fast_statistics' ) ;
762762 const data = await resp . json ( ) ;
763763 if ( data && data . periodStats ) {
764764 document . getElementById ( 'fastDay' ) . textContent = `Всего: ${ data . periodStats . day . total } , Уникальных: ${ data . periodStats . day . unique } ` ;
You can’t perform that action at this time.
0 commit comments