mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
wip
This commit is contained in:
@@ -8,7 +8,7 @@ function respond_json($responseData, int $statusCode = 200)
|
||||
return str(new Response(
|
||||
$statusCode,
|
||||
['Content-Type' => 'application/json'],
|
||||
json_encode($responseData)
|
||||
json_encode($responseData, JSON_INVALID_UTF8_IGNORE)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user