make curl async

This commit is contained in:
2024-02-24 22:24:13 +01:00
parent 699c15255c
commit 46048433b7

View File

@@ -174,7 +174,7 @@ class VideoController extends Controller
"video_id" => $video->id
]);
exec("curl -X POST -H 'Content-Type: application/json' -u '$mauauth' '$mauurl' -d '$payload' ");
exec("curl -X POST -H 'Content-Type: application/json' -u '$mauauth' '$mauurl' -d '$payload' > /dev/null &");
}
// if (config('matrix.enabled') && config('matrix.token') && config('matrix.homeserver') && config('matrix.room')) {