Merge pull request #1729 from janhq/fix/server_api_localhost
fix: Change to fixed `localhost` instead of using host variable
This commit is contained in:
commit
7f1a902a25
@ -129,7 +129,7 @@ const LocalServerScreen = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
{serverEnabled && (
|
{serverEnabled && (
|
||||||
<Button block themes="secondaryBlue" asChild>
|
<Button block themes="secondaryBlue" asChild>
|
||||||
<a href={`http://${host}:${port}`} target="_blank">
|
<a href={`http://localhost:${port}`} target="_blank">
|
||||||
API Reference <ExternalLinkIcon size={20} className="ml-2" />
|
API Reference <ExternalLinkIcon size={20} className="ml-2" />
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user