File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1395,9 +1395,9 @@ export default {
13951395 // richiesta, non quello scritto nella destinazione. Quindi rispondiamo sia sul nostro
13961396 // percorso sia su quello pubblico della webapp. (Scoperto il 22/08 con un 404 del Worker
13971397 // che sembrava un 404 di Vercel: il corpo era il nostro, 46 byte.)
1398- if ( ( url . pathname === "/x402/attestation " || url . pathname === "/api/x402/attestation" || url . pathname === "/prova-bordo-x402" )
1399- && ( request . method === "GET" || request . method === "HEAD" ) ) {
1400- return x402StaticChallenge ( request ) ;
1398+ if ( ( request . method === "GET " || request . method === "HEAD" ) ) {
1399+ const edge = x402StaticChallenge ( request ) ;
1400+ if ( edge ) return edge ;
14011401 }
14021402 if ( url . pathname === "/log/checkpoint" && request . method === "GET" ) {
14031403 const st = await rlogStatus ( env ) ;
You can’t perform that action at this time.
0 commit comments