diff --git a/lib/main.dart b/lib/main.dart index 25710d4..2a7b03f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,7 +1,7 @@ /* * @Author : Linloir * @Date : 2022-10-10 08:04:53 - * @LastEditTime : 2022-10-20 21:01:39 + * @LastEditTime : 2022-10-20 23:11:45 * @Description : */ import 'package:easy_debounce/easy_debounce.dart'; @@ -119,7 +119,7 @@ class SplashPage extends StatelessWidget { return BlocProvider( create: (context) { return InitializationCubit( - serverAddress: 'chat.linloir.cn', + serverAddress: '127.0.0.1', serverPort: 20706 ); }, diff --git a/pubspec.yaml b/pubspec.yaml index bc659cb..9acf638 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: tcp_client -description: A new Flutter project. +description: A chat client based on TCP connection # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 +version: 1.2.0 environment: sdk: '>=2.18.2 <3.0.0'