Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix authentication on preview builds
Rūdolfs Ošiņš committed 2 years ago
commit 32acc74a76ce3fefd3da9219acd8aff7a30269ec
parent 3724e08a6ae21aea6eb586f5ce1cbdf9adb4a740
1 file changed +3 -5
modified src/modals/ConnectModal.svelte
@@ -12,11 +12,9 @@
  import TextInput from "@app/components/TextInput.svelte";

  $: customUrl = `${httpd.api.baseUrl.scheme}://${httpd.api.baseUrl.hostname}:${customPort}`;
-
  $: command = import.meta.env.PROD
-
    ? `rad web --backend ${customUrl}`
-
    : `rad web --frontend ${
-
        new URL(import.meta.url).origin
-
      } --backend ${customUrl}`;
+
  $: command = `rad web --frontend ${
+
    new URL(import.meta.url).origin
+
  } --backend ${customUrl}`;
  let customPort = httpd.api.port;
  $: validPortNumber = Number(customPort) > 0 && Number(customPort) <= 65535;