Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
hannafarah committed Feb 12, 2022
1 parent 3db568d commit e0ddc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class _MyHomePageState extends State<MyHomePage> {
}

Future<List<Todo>> getTodos() async {
final response = await get(Uri.parse('https://localhost:7247/api/todo/'));
final response = await get(Uri.parse('http://3.80.99.59/api/todo'));

if (response.statusCode == 200) {
// If the server did return a 200 OK response,
Expand Down

0 comments on commit e0ddc33

Please sign in to comment.