admin管理员组文章数量:1395185
I am building a Strapi CMS with the GraphQL plugins. On my local development environment, I can access the GraphQL frontend using localhost:1337/graphql
. However, when I deploy it on render, the /graphql
route always return the following.
Welcome to Apollo Server
The full landing page cannot be loaded; it appears that you might be offline.
However, I can still access the GraphQL API by a POST request to /graphql
(on Postman and on my own Frontend App). In other word, the GraphQL API is accessible, but I cannot enter the GraphQL Playground (the frontend part).
I am not sure why this is happening.
I expected to be able to access the /graphql
route on my render deployment.
My deployed app is here .
How to Recreate The Error
- Just build a new strapi app with default contents- Install the strapi GraphQL plugins
- Deploy it on []()
- You should find that the `/graphql` part on render deployment is not accessible, while on it is accessible on local development environment.
本文标签: Cannot open Apollo Server (graphql) on a Deployed Strapi CMSStack Overflow
版权声明:本文标题:Cannot open Apollo Server (`graphql`) on a Deployed Strapi CMS - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744736229a2622344.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论