Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Tilda API URL to https #1

Open
fervallen opened this issue Apr 6, 2022 · 1 comment
Open

Change Tilda API URL to https #1

fervallen opened this issue Apr 6, 2022 · 1 comment

Comments

@fervallen
Copy link

fervallen commented Apr 6, 2022

Tilda API has a hardcoded API URL in this file:

protected $endpoint = 'http://api.tildacdn.info/v1';

Now Tilda added a 301 redirect from http to https.
By default CURL does not follow 301 redirect in many systems and any requests to API now resulting with Invalid JSON Exception.

@mxl
Copy link
Collaborator

mxl commented Apr 14, 2022

@fervallen Could you prepare PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants