From 18d7716be5792acdb4630a973ab31ee2300057e0 Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Wed, 13 May 2020 00:06:40 +0300 Subject: [PATCH] add absolute link --- app/api/apiclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/apiclient.php b/app/api/apiclient.php index f5df6b0..676d810 100644 --- a/app/api/apiclient.php +++ b/app/api/apiclient.php @@ -235,7 +235,7 @@ function clientbooks($books){ foreach($books as $book){ $book['pic'] = IMGSRV."price/180x280/{$book['price_id']}.{$book['priceimg']}"; - $book['link'] = 'read/'.$book['pricehash']; + $book['link'] = SITE.'read/'.$book['pricehash']; $result[] = $book; }