Skip to content

Commit

Permalink
Merging 4e7d15c into trunk-temp/pr-2066/1c14e91f-286d-4460-81b6-41bc3…
Browse files Browse the repository at this point in the history
…2a92512
  • Loading branch information
trunk-io[bot] authored Oct 23, 2024
2 parents a6bdb2b + 4e7d15c commit 84cbf7a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Binary file modified examples/bun-hono-rate-limit/bun.lockb
Binary file not shown.
Binary file modified examples/bun-rate-limit/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/express-newman/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ app.get("/api/bots", async (req, res) => {
const decision = await aj
// Only inline to self-contain the sample code.
// Static rules should be defined outside the handler for performance.
.withRule(detectBot({ mode: "LIVE" }))
.withRule(detectBot({ mode: "LIVE", allow: [] }))
.protect(req);

if (decision.isDenied()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/nestjs-fastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Adapater](https://docs.nestjs.com/techniques/performance).
4. Start the server.

```bash
npm start
npm run start:dev
```

5. Visit `http://localhost:3000/` in a browser.
Expand Down
2 changes: 1 addition & 1 deletion examples/nestjs-graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GraphQL applications using the `@arcjet/nest` adapter.
4. Start the server.

```bash
npm start
npm run start:dev
```

5. Visit `http://localhost:3000/graphql` in a browser and submit a GraphQL
Expand Down
2 changes: 1 addition & 1 deletion examples/nestjs-launchdarkly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ applications using the `@arcjet/nest` adapter with rule configuration loaded via
6. Start the server.

```bash
npm start
npm run start:dev
```

7. Visit `http://localhost:3000/`.
Expand Down
2 changes: 1 addition & 1 deletion examples/nestjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ applications using the `@arcjet/nest` adapter.
4. Start the server.

```bash
npm start
npm run start:dev
```

5. Visit `http://localhost:3000/` in a browser.
Expand Down

0 comments on commit 84cbf7a

Please sign in to comment.