fix: Show correct API URL for OBS in settings page
This commit is contained in:
parent
5309527c3e
commit
2592fe029a
|
@ -158,7 +158,7 @@ function ApiKeyDialog({login, onGenerateNewKey}) {
|
|||
</div>
|
||||
<p>The API URL should be set to:</p>
|
||||
<div style={{marginBottom: 16}}>
|
||||
<CopyInput label="API URL" value={config?.apiUrl ?? '...'} />
|
||||
<CopyInput label="API URL" value={config?.apiUrl?.replace(/\/api$/, '') ?? '...'} />
|
||||
</div>
|
||||
<p>
|
||||
You can generate a new API Key here, which will invalidate the old one, disconnecting all devices you used it on
|
||||
|
|
Loading…
Reference in a new issue