Skip to content

Commit 9de430f

Browse files
graphql_flutter: add a real API to be able to run the APP without server
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent d6025ff commit 9de430f

File tree

1 file changed

+2
-2
lines changed
  • packages/graphql_flutter/example/graphql_chat/lib

1 file changed

+2
-2
lines changed

packages/graphql_flutter/example/graphql_chat/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Future<void> main() async {
1212
"Accept": "application/json",
1313
"Access-Control_Allow_Origin": "*",
1414
},
15-
'http://127.0.0.1:9000/graphql',
15+
'https://api.chat.graphql-flutter.dev/graphql',
1616
);
1717
var wsLink = WebSocketLink(
18-
'ws://127.0.0.1:9000/graphql',
18+
'ws://api.chat.graphql-flutter.dev/graphql',
1919
config: const SocketClientConfig(
2020
inactivityTimeout: Duration(seconds: 40),
2121
),

0 commit comments

Comments
 (0)