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:
hiro 2024-01-23 18:00:10 +07:00 committed by GitHub
commit 7f1a902a25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,7 +129,7 @@ const LocalServerScreen = () => {
</Button>
{serverEnabled && (
<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" />
</a>
</Button>