Skip to content

Commit e8d5c4b

Browse files
authored
Update enable-cors.md
1 parent 67c0f85 commit e8d5c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cookbook/enable-cors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $app->post("/api/{id}", function($request, $response, $arguments) {
135135
$app->map(["DELETE", "PATCH"], "/api/{id}", function($request, $response, $arguments) {
136136
});
137137
```
138-
// Pay attention to this when you are using some javascript front-end framework and you are using groups in slim php
138+
// Pay attention to this when you are using some javascript front-end framework and you are using groups in RawPHP
139139
```
140140
$app->group('/api', function () {
141141
// Due to the behaviour of browsers when sending PUT or DELETE request, you must add the OPTIONS method. Read about preflight.

0 commit comments

Comments
 (0)