File tree 1 file changed +8
-6
lines changed 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -232,12 +232,14 @@ func RegisterRoutes(m *web.Route) {
232
232
// Routers.
233
233
// for health check
234
234
m .Get ("/" , Home )
235
- m .Get ("/.well-known/openid-configuration" , user .OIDCWellKnown )
236
- if setting .Federation .Enabled {
237
- m .Get ("/.well-known/nodeinfo" , NodeInfoLinks )
238
- }
239
- m .Get ("/.well-known/change-password" , func (w http.ResponseWriter , req * http.Request ) {
240
- http .Redirect (w , req , "/user/settings/account" , http .StatusTemporaryRedirect )
235
+ m .Group ("/.well-known" , func () {
236
+ m .Get ("/openid-configuration" , user .OIDCWellKnown )
237
+ if setting .Federation .Enabled {
238
+ m .Get ("/nodeinfo" , NodeInfoLinks )
239
+ }
240
+ m .Get ("/change-password" , func (w http.ResponseWriter , req * http.Request ) {
241
+ http .Redirect (w , req , "/user/settings/account" , http .StatusTemporaryRedirect )
242
+ })
241
243
})
242
244
243
245
m .Group ("/explore" , func () {
You can’t perform that action at this time.
0 commit comments