friendship ended with social-app. php is my new best friend

i forgor how str_replace works

Changed files
+1 -1
+1 -1
index.php
··· 210 210 ->withHeader('typ', 'JWT') 211 211 ->issuedBy($userInfo->did) 212 212 ->relatedTo('https://'.SITE_DOMAIN.CLIENT_ID) 213 - ->permittedFor('did:web:'.str_replace("/", str_replace("https://", $pds))) 213 + ->permittedFor('did:web:'.str_replace("/", "", str_replace("https://", "", $pds))) 214 214 ->issuedAt('iat', strtotime('now')) 215 215 ->getToken($algorithm, $signing_key); 216 216 print_r($token->toString());