fix: broken app due to incorrect api path (#3316)
This commit is contained in:
parent
1f5168d4af
commit
3de4eab2a0
@ -54,11 +54,11 @@ const WaitingForCortexModal: React.FC = () => {
|
|||||||
<p className="mt-[2px] text-[hsla(var(--text-secondary))]">
|
<p className="mt-[2px] text-[hsla(var(--text-secondary))]">
|
||||||
API Server starting at{' '}
|
API Server starting at{' '}
|
||||||
<a
|
<a
|
||||||
href={`${host}/api`}
|
href={`${host.replace('/v1', '')}/api`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="text-[hsla(var(--app-link))] hover:underline"
|
className="text-[hsla(var(--app-link))] hover:underline"
|
||||||
>
|
>
|
||||||
{host}/api
|
{host.replace('/v1', '')}/api
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@ -30,4 +30,4 @@ export const didShowMigrationWarningAtom = atomWithStorage(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
export const hostAtom = atom('http://127.0.0.1:1338')
|
export const hostAtom = atom('http://127.0.0.1:1338/v1')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user