Skip to content

Commit

Permalink
Revert "Merge pull request #627 from appwrite/fix-sdk-url"
Browse files Browse the repository at this point in the history
This reverts commit 6a3e452, reversing
changes made to fc4918a.
  • Loading branch information
stnguyen90 committed Mar 23, 2023
1 parent 15ce3c1 commit e8aeda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/flutter/lib/src/client_offline_mixin.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class ClientOfflineMixin {

Future<void> checkOnlineStatus() async {
try {
final url = Uri.parse('{{sdk.url}}/version');
final url = Uri.parse('{{spec.endpoint}}/version');
await http.head(url).timeout(Duration(seconds: 1));
isOnline.value = true;
} catch (_) {
Expand Down

0 comments on commit e8aeda2

Please sign in to comment.