anaytics example: Use the right port

This took me way way too long to figure out
This commit is contained in:
Vishesh Handa
2021-08-09 18:18:03 +02:00
parent 0e2adf8bb6
commit f14e754b74

View File

@ -6,8 +6,8 @@ import 'generated/analytics.pb.dart' as pb;
Future<void> main(List<String> args) async {
final channel = ClientChannel(
'https://analyticsbackend-wetu2tkdpq-ew.a.run.app',
port: 8080,
'analyticsbackend-wetu2tkdpq-ew.a.run.app',
port: 443,
options: ChannelOptions(
// credentials: const ChannelCredentials.insecure(),
credentials: const ChannelCredentials.secure(),