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

fix: update order pdf url to use cpUrl rather than siteUrl #1011

Closed

Conversation

jamesirving
Copy link

When using craft in a headless setup, if the admin user clicks 'Download PDF' on an order they get a 404 in a new tab as it is directing the user to the siteUrl rather than the cpUrl.

Changing the URL to the cpUrl resolved this issue and triggered the pdf download as expected.

@jamesirving
Copy link
Author

@lukeholder would be good to get your thoughts on this.

@lukeholder
Copy link
Member

Fixed in 23d0d9b

@lukeholder lukeholder closed this Sep 23, 2019
@MichaelWheldon
Copy link

@lukeholder hey just checking on when this was getting released?

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

Successfully merging this pull request may close these issues.

3 participants