Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: endpoint.php?success returns wrong format URL #23108
    coachmkt
    Post count: 2

    I’ve already found the solution. As I use ‘s3’ and ‘CORS’, so I edit this file:-

    vendor/fineuploader/php-s3-server/endpoint-cors.php

    At line 283, change from
    $link = getTempLink($bucket, $key);
    $response = array(“tempLink” => $link);
    to
    $link = getTempLink($bucket, $key);
    $link = str_replace( “{$bucket}/”, “”, $link );
    $link = str_replace( “s3.amazonaws.com”, “{$bucket}.s3.amazonaws.com”, $link );
    $response = array(“tempLink” => $link);

    The same may apply to vendor/fineuploader/php-s3-server/endpoint.php line 257.

Viewing 1 post (of 1 total)