Skip to content
Snippets Groups Projects
Commit b500764b authored by 장무현's avatar 장무현
Browse files

new flutter

parent 535eaafb
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ class MyAppState extends ChangeNotifier { ...@@ -102,7 +102,7 @@ class MyAppState extends ChangeNotifier {
} }
Future<void> toggleFavorite() async { Future<void> toggleFavorite() async {
var uri = "http://dnsfl1517.web.ajousw.kr/likes/${current.first}_${current.second}"; var uri = "http://localhost:3000/likes/${current.first}_${current.second}";
if (favorites.contains(current)) { if (favorites.contains(current)) {
final http.Response resp = await http.delete(Uri.parse(uri)); final http.Response resp = await http.delete(Uri.parse(uri));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment