fix: Change to 127.0.0.1 to ensure it's always localhost

This commit is contained in:
hiro 2024-01-20 22:37:51 +07:00 committed by hiro
parent 8e4a875e2f
commit b8bc0cd171

View File

@ -127,7 +127,7 @@ const LocalServerScreen = () => {
</Button> </Button>
{serverEnabled && ( {serverEnabled && (
<Button block themes="secondaryBlue" asChild> <Button block themes="secondaryBlue" asChild>
<a href={`http://localhost:${port}`} target="_blank"> <a href={`http://127.0.0.1:${port}`} target="_blank">
API Reference <ExternalLinkIcon size={20} className="ml-2" /> API Reference <ExternalLinkIcon size={20} className="ml-2" />
</a> </a>
</Button> </Button>