Bài đăng

Đang hiển thị bài đăng từ Tháng 7, 2026

CLOUD FLARE SERCURITY

export default {   async fetch ( request , env ) {     // return fetch("https://backend-api.hideproxy.io/api/v1/proxy/listCountry?domain=server1&provider=YUi9W%2B2bLuJaQkDlbmmt3I67z9KdrJxFtXjldEvWCweXiA%3D%3D&X-Signature&X-Timestamp")     const url = new URL ( request . url ) ;     // ===== Verify Signature =====     const signature = request . headers . get ( "X-Signature" ) ;     const timestamp = request . headers . get ( "X-Timestamp" ) ;     const clientkey = request . headers . get ( "X-Client-Key" ) ;     if ( !signature || !timestamp ) {       return Response . json ( {         success : false ,         message : "Missing Signature"       }, { status : 401 } ) ;     }     // quá 5 phút     if ( Math . abs ( Date . now () - Number ( timestamp )) > 300000 ) { ...