File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ approved!)_:
306306| https://randomuser.me/api/?inc=gender | CORS enabled, no-cache |
307307| https://dog.ceo/api/breed/husky/list | CORS enabled, no-cache |
308308| https://lenta.ru | Russia supported, CORS enabled, no-cache |
309- | https://www.gazeta.ru | Russia supported, CORS enabled, no-cache |
310309
311310_ Feel free to use your own trusted endpoints! We don't judge your API choices._
312311🎯
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ class _CustomURIsState extends State<CustomURIs> {
2323 super .initState ();
2424 _subscription = InternetConnection .createInstance (
2525 customCheckOptions: [
26+ InternetCheckOption (
27+ uri: Uri .parse ('https://cloudflare.com/cdn-cgi/trace' ),
28+ ),
2629 InternetCheckOption (uri: Uri .parse ('https://ipapi.co/ip' )),
2730 InternetCheckOption (
2831 uri: Uri .parse ('https://api.adviceslip.com/advice' ),
@@ -40,7 +43,6 @@ class _CustomURIsState extends State<CustomURIs> {
4043 uri: Uri .parse ('https://dog.ceo/api/breed/husky/list' ),
4144 ),
4245 InternetCheckOption (uri: Uri .parse ('https://lenta.ru' )),
43- InternetCheckOption (uri: Uri .parse ('https://www.gazeta.ru' )),
4446 ],
4547 useDefaultOptions: false ,
4648 ).onStatusChange.listen ((status) {
You can’t perform that action at this time.
0 commit comments