We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c25409 commit 0f9969cCopy full SHA for 0f9969c
internal/api/handlers/update.go
@@ -127,7 +127,8 @@ func HandleUpdateApply(updater *update.Manager) http.HandlerFunc {
127
128
func HandleUpdateEvents(updater *update.Manager) http.HandlerFunc {
129
return func(w http.ResponseWriter, r *http.Request) {
130
- // Handle HEAD requests with early return
+ // HOTFIX: app-lab use HEAD requests to check endpoint availability
131
+ // so we need to handle them here by early return without opening SSE stream
132
if r.Method == http.MethodHead {
133
render.EncodeResponse(w, http.StatusOK, nil)
134
return
0 commit comments