From 9cccf18c40184a686548c6d78c142df0f9cd41cc Mon Sep 17 00:00:00 2001 From: notfire Date: Sun, 12 Jan 2025 11:59:30 -0500 Subject: [PATCH] hopefully fix response data from shrimp showing up on page after response sent --- admin/fedi.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/fedi.php b/admin/fedi.php index 6c6680a..a02d210 100644 --- a/admin/fedi.php +++ b/admin/fedi.php @@ -14,6 +14,7 @@ curl_setopt($ch, CURLOPT_URL,$fediAPIRoute); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Authorization: {$fediAPIToken}")); +curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $contentO = $arr["text"]; $contentR = $arr["responsetext"]; @@ -32,4 +33,4 @@ curl_exec($ch); curl_close($ch); -?> \ No newline at end of file +?>