0.3.21
This commit is contained in:
@@ -195,5 +195,11 @@ func (s *Server) handleServiceStatus(w http.ResponseWriter, r *http.Request, ses
|
||||
// else — the handlers refuse regardless, but a menu item that only ever produces a
|
||||
// refusal is worse than no menu item.
|
||||
"requests": map[string]any{"allowed": s.requestAllowed(r, sess)},
|
||||
// The v2 detail-page experiment, as a plain string rather than a boolean feature
|
||||
// flag: it needs three legal values room to grow into (a later variant), and per-
|
||||
// user/per-device scope the way the theme does. It rides this poll rather than
|
||||
// /v1/config because that document is fetched unauthenticated, before sign-in, and
|
||||
// cannot resolve a session to scope by user or device.
|
||||
"detailExperience": detailExperienceFor(featurePolicy, sess),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user