mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔧 Use default instance if specified in envvars
This commit is contained in:
parent
b43b0b73d4
commit
8f59ebad0e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export function InstanceFormBox(): JSX.Element {
|
||||||
|
|
||||||
const urlField =
|
const urlField =
|
||||||
useFormState<string>(
|
useFormState<string>(
|
||||||
instance?.state?.url?.toString() ?? "",
|
instance?.state?.url?.toString() ?? process.env.REACT_APP_DEFAULT_INSTANCE ?? "",
|
||||||
onValidate,
|
onValidate,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue