Replies: 1 comment
-
I have the same issue. In development/local it works as expected, and our links have https, but once in production our links are http. I have used this in /**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
URL::forceScheme('https');
} The .env |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the configuration file(json-api-paginate.php) I have set base_url = env ('APP_URL'). But the links for next & previous page have a problem. For example, my API is as follows:
https://example.com/api/categories?filter[name]=internet&page[size]=10
But the address of the next page is as follows:
https://example.com/?page[size]=10&page[number]=2
please help me.
Beta Was this translation helpful? Give feedback.
All reactions