DEV Community

Kavindu chathuranga
Kavindu chathuranga

Posted on

How can i hide domain from shared post?

I am Sharing a link from my laravel server

        $property = [
            'id' => $book_id
            'user' => $params['userId'],
            'title' => "XXXXXXX",
            'share_image' => $result->book_images[0]->image->getMedium()
        ];

        return response()->json([
            "url" => route("social_share_ui", ["share_token" => base64_encode(\Crypt::encryptString(json_encode($property)))])
        ]);
    }

this is my shared post

But i don't want to show my domain in that post (DEV.XXXXXXXX.LK). how can I…

Top comments (0)