fix: detect host name using window.location
This commit is contained in:
0
.github/workflows/release.yml
vendored
Normal file
0
.github/workflows/release.yml
vendored
Normal file
@@ -53,7 +53,8 @@ function SshTab() {
|
||||
<pre>{workspace.sshPort}</pre>
|
||||
<p className="text-sm text-muted-foreground mt-4">Command</p>
|
||||
<pre>
|
||||
ssh -p {workspace.sshPort} testuser@{import.meta.env.VITE_HOST_NAME}
|
||||
ssh -p {workspace.sshPort} testuser@
|
||||
{import.meta.env.VITE_HOST_NAME || window.location.hostname}
|
||||
</pre>
|
||||
</TabContainer>
|
||||
);
|
||||
|
Reference in New Issue
Block a user