Skip to content

feat: add config property for graphql endpoint

Tamlyn Rhodes requested to merge server-graphql-config into master

Need this in order to make it possible to deploy elife-xpub on Kubernetes where the environment is production.

This is a good example of why code should never directly check NODE_ENV. (Don't git blame the line I changed though, it might have my name against it!)

Note this is technically a breaking change for development environments using GraphQL but that's only eLife afaik.

Merge request reports