Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Support customisation of graphql route (or use non pretty version) #12

Closed
homerjam opened this issue Apr 8, 2019 · 3 comments
Closed

Comments

@homerjam
Copy link
Contributor

homerjam commented Apr 8, 2019

I'm in an environment which means I'm having to use /index.php?graphql as my endpoint which means this plugin unfortunately doesn't work.

@jasonbahl
Copy link
Contributor

@homerjam thanks for the issue. I can confirm that at the moment WPGraphiQL assumes the endpoint is at /graphql

I think it's reasonable for this plugin to support non-pretty permalinks as well.

Thanks for reporting this. We'll try and get a fix in, but happy to accept PRs if you beat us to it 😄

@homerjam
Copy link
Contributor Author

homerjam commented Apr 8, 2019

I'll try and take a look. Would you be happy to assume we can always use non pretty URLs?!

@jasonbahl
Copy link
Contributor

ya. That works for me. I think it should be fine to just change this line to something that is more friendly for all environments? 🤔

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

No branches or pull requests

2 participants