File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ <h1>Nuclei <span>POC</span> 聚合仓库</h1>
219219 if ( ! res . ok ) throw new Error ( 'HTTP ' + res . status ) ;
220220 var cats = await res . json ( ) ;
221221 var pocTotal = 0 , dedupTotal = 0 , goldTotal = 0 , goldTiers = 0 ;
222- for ( var d in cats ) { var t = 0 ; for ( var c in cats [ d ] ) t += cats [ d ] [ c ] ; if ( d === 'poc' ) pocTotal = t ; else if ( d === 'poc_dedup' ) dedupTotal = t ; else if ( d . startsWith ( 'poc_gold_' ) ) { goldTiers ++ ; if ( d === 'poc_gold_3 ' ) goldTotal = t } }
222+ for ( var d in cats ) { var t = 0 ; for ( var c in cats [ d ] ) t += cats [ d ] [ c ] ; if ( d === 'poc' ) pocTotal = t ; else if ( d === 'poc_dedup' ) dedupTotal = t ; else if ( d . startsWith ( 'poc_gold_' ) ) { goldTiers ++ ; if ( d === 'poc_gold_13 ' ) goldTotal = t } }
223223 document . getElementById ( 'statTotal' ) . innerHTML = exactNum ( pocTotal ) ;
224224 document . getElementById ( 'statDedup' ) . innerHTML = exactNum ( dedupTotal ) ;
225225 document . getElementById ( 'statGold13' ) . innerHTML = exactNum ( goldTotal ) ;
You can’t perform that action at this time.
0 commit comments