Skip to content

Commit f0f7156

Browse files
committed
Fix portforward link
1 parent 1072f96 commit f0f7156

File tree

2 files changed

+2045
-2
lines changed

2 files changed

+2045
-2
lines changed

site/src/components/PortForwardButton/PortForwardButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const PortForwardButton: React.FC<React.PropsWithChildren<PortForwardButt
3131
const { location } = window
3232
const urlExample =
3333
process.env.CODER_ENABLE_WILDCARD_APPS === "true"
34-
? `${location.protocol}//${port}--${workspaceName}--${agentName}--${username}.${location.host}`
35-
: `${location.protocol}//${location.host}/@${username}/${workspaceName}/apps/${port}`
34+
? `${location.protocol}//${port}--${agentName}--${workspaceName}--${username}.${location.host}`
35+
: `${location.protocol}//${location.host}/@${username}/${workspaceName}.${agentName}/apps/${port}`
3636

3737
const onClose = () => {
3838
setIsOpen(false)

0 commit comments

Comments
 (0)