Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive committed Dec 18, 2024
1 parent 9b3f50b commit 21d0af3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/core-concepts/prism-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ First, make sure Prism Server is enabled in your `config/prism.php` file:

```php
'prism_server' => [
// The middleware that will be applied to the Prism Server routes.
'middleware' => [],
'enabled' => env('PRISM_SERVER_ENABLED', true),
],
]
```

### 2. Register Your Prisms
Expand Down Expand Up @@ -106,7 +108,6 @@ You can add middleware to the Prism Server routes by setting the `middleware` op

```php
'prism_server' => [
'middleware' => ['web'],
// ...
'middleware' => ['api'],
],
```

0 comments on commit 21d0af3

Please sign in to comment.