Auto-indexing service and GraphQL API for AT Protocol Records
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(example): quickslice-client-js script path was wrong

+5 -4
+5 -4
examples/01-statusphere/index.html
··· 5 5 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 6 6 <meta 7 7 http-equiv="Content-Security-Policy" 8 - content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src http://localhost:8080; img-src 'self' https: data:;" 8 + content="default-src 'self'; script-src 'self' 'unsafe-inline' https://unpkg.com; style-src 'self' 'unsafe-inline'; connect-src http://localhost:8080 http://127.0.0.1:8080; img-src 'self' https: data:;" 9 9 /> 10 10 <title>Statusphere</title> 11 11 <style> ··· 368 368 </div> 369 369 370 370 <!-- Quickslice Client SDK --> 371 - <script src="../../quickslice-client-js/dist/quickslice-client.min.js"></script> 371 + <script src="https://unpkg.com/quickslice-client-js/dist/quickslice-client.min.js"></script> 372 372 373 373 <script> 374 374 // ============================================================================= 375 375 // CONFIGURATION 376 376 // ============================================================================= 377 377 378 - const SERVER_URL = "http://localhost:8080"; 379 - const CLIENT_ID = ""; // Set your OAuth client ID here 378 + // Use the same hostname as the current page to avoid DPoP htu mismatch 379 + const SERVER_URL = `http://${window.location.hostname}:8080`; 380 + const CLIENT_ID = "client_hIDdeUW3tBTUZF6qgpXxbg"; // Set your OAuth client ID here 380 381 381 382 const EMOJIS = [ 382 383 "👍",