Skip to content

Commit

Permalink
feat(renterd,hostd): advanced config http address
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Oct 7, 2024
1 parent ca2dc2f commit 546f45f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .changeset/fifty-rings-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'renterd': minor
'walletd': minor
---

The advanced configuration options now include setting a custom HTTP address.
1 change: 1 addition & 0 deletions renterd/renderer/components/ConfigForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function ConfigForm() {
{showAdvanced && (
<>
<FieldText form={form} fields={fields} name="dataDir" />
<FieldText form={form} fields={fields} name="httpAddress" />
<FieldSelect form={form} fields={fields} name="logLevel" />
<FieldText form={form} fields={fields} name="s3Address" />
<div className="flex items-center gap-5">
Expand Down
10 changes: 1 addition & 9 deletions renterd/renderer/contexts/config/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
'use client'

import {
createContext,
use,
useCallback,
useContext,
useEffect,
useMemo,
useState,
} from 'react'
import { createContext, useCallback, useContext, useMemo } from 'react'
import {
triggerErrorToast,
useFormInit,
Expand Down
1 change: 1 addition & 0 deletions walletd/renderer/components/ConfigForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export function ConfigForm() {
{showAdvanced && (
<>
<FieldText form={form} fields={fields} name="dataDir" />
<FieldText form={form} fields={fields} name="httpAddress" />
<FieldSelect form={form} fields={fields} name="logLevel" />
<FieldSelect form={form} fields={fields} name="indexMode" />
<FieldNumber form={form} fields={fields} name="indexBatchSize" />
Expand Down

0 comments on commit 546f45f

Please sign in to comment.