Skip to content

Add a runnable Elysia Fetch guard playground - #141

Merged
cport1 merged 1 commit into
mainfrom
docs/elysia-fetch-guard-playground
Nov 28, 2026
Merged

cport1 merged 1 commit into
mainfrom
docs/elysia-fetch-guard-playground

Conversation

@cport1

@cport1 cport1 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Add a keyless loopback example in playgrounds/elysia using the existing Fetch guard and Bun. It demonstrates how the same local rule records a decision in monitor mode and changes the response in enforcement mode.

bun test passed two real HTTP tests. Both modes return 200 on the ordinary route. The synthetic decoy keeps the framework's 404 in monitor mode and returns 403 in enforcement mode.

@cport1
cport1 merged commit c72b732 into main Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant