Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Error if purge request made with dev mode disabled #3295

Merged
merged 19 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delint
ChrisBQu committed Dec 6, 2024
commit 94ca9d18800e6fdaa742e8f1876fd6e68c8e8e4f
1 change: 0 additions & 1 deletion http/handler_extras.go
Original file line number Diff line number Diff line change
@@ -22,7 +22,6 @@ import (
type extrasHandler struct{}

func (s *extrasHandler) Purge(rw http.ResponseWriter, req *http.Request) {

db := mustGetContextClientDB(req)

// Send either 200 or 400 response based on whether the server is in dev mode