Skip to content

Commit

Permalink
fix: broken app due to incorrect api path (#3316)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-menlo authored Aug 9, 2024
1 parent 1f5168d commit 3de4eab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/containers/WaitingCortexModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ const WaitingForCortexModal: React.FC = () => {
<p className="mt-[2px] text-[hsla(var(--text-secondary))]">
API Server starting at{' '}
<a
href={`${host}/api`}
href={`${host.replace('/v1', '')}/api`}
target="_blank"
className="text-[hsla(var(--app-link))] hover:underline"
>
{host}/api
{host.replace('/v1', '')}/api
</a>
<br />
<br />
Expand Down
2 changes: 1 addition & 1 deletion web/helpers/atoms/AppConfig.atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 3de4eab

Please sign in to comment.