Skip to content

Commit fbdb8a9

Browse files
alecthomasclaude
andcommitted
revert: "fix: reject requests targeting a cachew playpen when not running as one (#204)"
This reverts commit 2f3c5c3. Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent fcdfc2e commit fbdb8a9

4 files changed

Lines changed: 0 additions & 76 deletions

File tree

.bk.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

cmd/cachewd/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,6 @@ func newServer(ctx context.Context, muxHandler http.Handler, bind string, metric
214214
)(handler)
215215

216216
handler = httputil.LoggingMiddleware(handler)
217-
if os.Getenv("IS_PLAYPEN") != "true" {
218-
handler = httputil.PlaypenGuardMiddleware(handler)
219-
}
220217

221218
logger := logging.FromContext(ctx)
222219
return &http.Server{

internal/httputil/playpen_guard.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

internal/httputil/playpen_guard_test.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)