Skip to content

Commit 05fa0c4

Browse files
committed
key fix to node start
1 parent 1ec0fa8 commit 05fa0c4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

gui/src/routes/flow/components/Storage.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</Sheet.Trigger>
5555
<Sheet.Content side="right">
5656
<Sheet.Header>
57-
<Sheet.Title>Save</Sheet.Title>
57+
<Sheet.Title>Storage</Sheet.Title>
5858
<Sheet.Description>Save your flow to a store</Sheet.Description>
5959
</Sheet.Header>
6060
<div class="grid gap-4 py-4">

gui/src/routes/keys/components/Host.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
const key = keyFetch;
5454
5555
const sub = await (
56-
await fetch(`http://localhost:3011/vault/getSub/call-${keyName}`, {
56+
await fetch(`http://localhost:3011/vault/getSub/call-${nodename}`, {
5757
method: 'POST',
5858
body: JSON.stringify({ key }),
5959
headers: {

gui/src/routes/store/components/Store.svelte

+4-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@
5454
</script>
5555

5656
<div class="m-4">
57-
<h1 class="text-lg">Replication key:</h1>
58-
<div>{publicKey}</div>
57+
<h1 class="text-lg">Replication env:</h1>
58+
59+
publicKey <code class="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">{publicKey}</code>
60+
5961
<div class="flex items-center space-x-4 m-4">
6062
<Input class="input max-w-xs" placeholder="key" bind:value={newKey} />
6163
<Input class="input max-w-sm" placeholder="value" bind:value={newValue} />

0 commit comments

Comments
 (0)