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

Commitfc58996

Browse files
authored
chore: add StripPrefix to aibridge server handler (#19990)
oops
1 parentc2d5143 commitfc58996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎enterprise/coderd/aibridge.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (api *API) aiBridgeListInterceptions(rw http.ResponseWriter, r *http.Reques
4747
ifpage.Offset!=0 {
4848
httpapi.Write(ctx,rw,http.StatusBadRequest, codersdk.Response{
4949
Message:"Offset pagination is not supported.",
50-
Detail:"Offset pagination is not supported for AIBridge interceptions. Use cursor pagination instead with after_id..",
50+
Detail:"Offset pagination is not supported for AIBridge interceptions. Use cursor pagination instead with after_id.",
5151
})
5252
return
5353
}

‎enterprise/coderd/coderd.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func New(ctx context.Context, options *Options) (_ *API, err error) {
246246
})
247247
return
248248
}
249-
api.aibridgedHandler.ServeHTTP(rw,r)
249+
http.StripPrefix("/api/experimental/aibridge",api.aibridgedHandler).ServeHTTP(rw,r)
250250
})
251251
})
252252
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp