File tree 1 file changed +4
-9
lines changed
green_thumb_cloud_next_25/client/lib/greenthumb
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,11 @@ typedef ToolResumeCallback =
16
16
});
17
17
18
18
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
-
24
19
// 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' };
29
24
30
25
final _messages = < RawMessage > [];
31
26
List <Message > get messages => Message .messagesFrom (_messages);
You can’t perform that action at this time.
0 commit comments