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

Commit9406953

Browse files
committed
Group routes in AGPL router
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent717e6a3 commit9406953

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎coderd/coderd.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,9 @@ func New(options *Options) *API {
12491249
)
12501250
r.Get("/settings",api.notificationsSettings)
12511251
r.Put("/settings",api.putNotificationsSettings)
1252-
r.Get("/templates/system",api.getSystemNotificationTemplates)
1252+
r.Route("/templates",func(r chi.Router) {
1253+
r.Get("/system",api.getSystemNotificationTemplates)
1254+
})
12531255
})
12541256
})
12551257

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp