Skip to content

Commit e8aeda2

Browse files
committed
Revert "Merge pull request #627 from appwrite/fix-sdk-url"
This reverts commit 6a3e452, reversing changes made to fc4918a.
1 parent 15ce3c1 commit e8aeda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/flutter/lib/src/client_offline_mixin.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class ClientOfflineMixin {
183183

184184
Future<void> checkOnlineStatus() async {
185185
try {
186-
final url = Uri.parse('{{sdk.url}}/version');
186+
final url = Uri.parse('{{spec.endpoint}}/version');
187187
await http.head(url).timeout(Duration(seconds: 1));
188188
isOnline.value = true;
189189
} catch (_) {

0 commit comments

Comments
 (0)