Skip to content

Commit 315e6fe

Browse files
committed
remove hosted server reference
1 parent 565b34a commit 315e6fe

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

green_thumb_cloud_next_25/client/lib/greenthumb/service.dart

+4-9
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@ typedef ToolResumeCallback =
1616
});
1717

1818
class GreenthumbService extends ChangeNotifier {
19-
final host = 'server-273031276541.us-central1.run.app';
20-
final port = 443;
21-
late final url = Uri.parse('https://$host/greenThumb');
22-
late final headers = {'Content-Type': 'application/json'};
23-
2419
// Local development
25-
// late final host = PlatformUtil.isAndroidEmulator ? '10.0.2.2' : '127.0.0.1';
26-
// final port = 3400;
27-
// late final url = Uri.parse('http://$host:$port/greenThumb');
28-
// late final headers = {'Content-Type': 'application/json'};
20+
late final host = PlatformUtil.isAndroidEmulator ? '10.0.2.2' : '127.0.0.1';
21+
final port = 3400;
22+
late final url = Uri.parse('http://$host:$port/greenThumb');
23+
late final headers = {'Content-Type': 'application/json'};
2924

3025
final _messages = <RawMessage>[];
3126
List<Message> get messages => Message.messagesFrom(_messages);

0 commit comments

Comments
 (0)