Skip to content

Commit 0578588

Browse files
committed
Change app url name order
1 parent b5d1f6a commit 0578588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/workspaceapps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ var (
198198
// Remove the "starts with" and "ends with" regex components.
199199
nameRegex = strings.Trim(httpapi.UsernameValidRegex.String(), "^$")
200200
appURL = regexp.MustCompile(fmt.Sprintf(
201-
// {USERNAME}--{WORKSPACE_NAME}}--{{AGENT_NAME}}--{{PORT}}
202-
`^(?P<UserName>%[1]s)--(?P<WorkspaceName>%[1]s)(--(?P<AgentName>%[1]s))?--(?P<AppName>%[1]s)$`,
201+
// AppName--WorkspaceName--AgentName--UserName
202+
`^(?P<AppName>%[1]s)--(?P<WorkspaceName>%[1]s)(--(?P<AgentName>%[1]s))?--(?P<UserName>%[1]s)$`,
203203
nameRegex))
204204
)
205205

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy