Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0578588

Browse files
committed
Change app url name order
1 parentb5d1f6a commit0578588

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)

[8]ページ先頭

©2009-2025 Movatter.jp