@@ -546,7 +546,7 @@ function AsyncLoadingExample() {
546546
547547 // Slow down load so progress circle can appear
548548 await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
549- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
549+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
550550 let json = await res . json ( ) ;
551551
552552 return {
@@ -585,7 +585,7 @@ function AsyncLoadingExampleControlledKey() {
585585 // Slow down load so progress circle can appear
586586 await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
587587
588- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
588+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
589589 let json = await res . json ( ) ;
590590
591591 return {
@@ -642,7 +642,7 @@ function AsyncLoadingExampleControlledKeyWithReset() {
642642 // Slow down load so progress circle can appear
643643 await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
644644
645- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
645+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
646646 let json = await res . json ( ) ;
647647
648648 let selectedText ;
0 commit comments