Handle custom httpd port

We only supported fetching the default httpd port (8080).
This commit removes navigation to `radicle.local` which represents
`0.0.0.0:8080`, and prepares the app for defining custom port.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-06-14 16:17:21 +02:00
parent 4fcb7373a3
commit 52cece4680
11 changed files with 186 additions and 36 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
modal.show({ component: AuthenticatedModal, props: {} });
void router.push({
resource: "seeds",
params: { hostnamePort: "radicle.local", projectPageIndex: 0 },
params: { hostnamePort: httpd.api.hostnamePort, projectPageIndex: 0 },
});
} else {
modal.show({