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

Preview target being loaded over https #4867

Closed
kjbrum opened this issue Aug 30, 2019 · 4 comments
Closed

Preview target being loaded over https #4867

kjbrum opened this issue Aug 30, 2019 · 4 comments

Comments

@kjbrum
Copy link

kjbrum commented Aug 30, 2019

Description

When adding localhost as a preview target, the URL gets changed to use https.

If I setup a preview target as http://localhost:3000/blog, when I try to load a preview, the URL that gets loaded will be https://localhost:3000/blog.

Steps to reproduce

  1. Set a preview target URL to http://localhost:3000.
  2. Preview an entry using the previously created target.
  3. Inspect the preview and see that the iframe is loading the https version.

Additional info

  • Craft version: 3.3.0.1
  • PHP version: 7.3
  • Database driver & version: 5.7
  • Plugins & versions: CraftQL - v1.3.4
@brandonkelly
Copy link
Member

As in the src attribute on the iframe itself starts with https://?

@kjbrum
Copy link
Author

kjbrum commented Aug 30, 2019

Correct

@brandonkelly
Copy link
Member

Just fixed this for the next release.

@kjbrum
Copy link
Author

kjbrum commented Sep 3, 2019

Perfect, thanks!

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