Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Clappison authored Apr 18, 2022
1 parent 525527e commit 6351cb8
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 @@ -131,7 +131,7 @@ class _MyHomePageState extends State<MyHomePage> {

Future<List<Todo>> getTodos() async {
final response =
await get(Uri.parse('https://csi5112lec6.farahtech.net/api/todo'));
await get(Uri.parse('http://35.183.7.190/api/todo'));

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

0 comments on commit 6351cb8

Please sign in to comment.