fix: Update dynamic port

This commit is contained in:
hiro 2024-01-19 16:08:01 +07:00 committed by hiro
parent 855f3511b7
commit 8c23db6388

View File

@ -126,7 +126,7 @@ const LocalServerScreen = () => {
{serverEnabled ? 'Stop' : 'Start'} Server
</Button>
<Button block themes="secondaryBlue" asChild>
<a href="http://localhost:1337/static/index.html" target="_blank">
<a href={`http://localhost:${port}`} target="_blank">
API Reference <ExternalLinkIcon size={20} className="ml-2" />
</a>
</Button>