From 865ed5f0c1a3c0a56240257e2c6e693aaff41554 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 4 Mar 2025 14:02:28 -0600 Subject: [PATCH] Create management portal in Flutter #39 --- web/repertory/lib/models/mount_list.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/repertory/lib/models/mount_list.dart b/web/repertory/lib/models/mount_list.dart index 67607a9d..72418836 100644 --- a/web/repertory/lib/models/mount_list.dart +++ b/web/repertory/lib/models/mount_list.dart @@ -49,7 +49,9 @@ class MountList with ChangeNotifier { Future add(String type, String name) async { await http.post( Uri.parse( - Uri.encodeFull('${Uri.base.origin}/api/v1/mount?name=$name&type=$type'), + Uri.encodeFull( + '${Uri.base.origin}/api/v1/add_mount?name=$name&type=$type', + ), ), );