Update InstanceActorController, improve json seralization by not escaping slashes
This commit is contained in:
parent
4505d1f0f9
commit
0a8eb81bf0
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class InstanceActorController extends Controller
|
|||
{
|
||||
$res = Cache::rememberForever(InstanceActor::PROFILE_KEY, function() {
|
||||
$res = (new InstanceActor())->first()->getActor();
|
||||
return json_encode($res);
|
||||
return json_encode($res, JSON_UNESCAPED_SLASHES);
|
||||
});
|
||||
return response($res)->header('Content-Type', 'application/json');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue