Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Use stencil custom request listener for /api/graphql #383

Open
4 tasks
mattvb91 opened this issue Feb 9, 2021 · 1 comment
Open
4 tasks

Use stencil custom request listener for /api/graphql #383

mattvb91 opened this issue Feb 9, 2021 · 1 comment
Projects

Comments

@mattvb91
Copy link
Member

mattvb91 commented Feb 9, 2021

In the next version of Stencil we can make use of a new requestListenerPath option in stencil config.

ionic-team/stencil@eec7651

That means we can run our /api/graphql endpoint on the same port meaning we can throw out a few things

  • Add request listener that serves our graphql API
  • clean up Access-Control-Allow-Origin header in packages/auth/server/resolvers/Auth.ts
  • Adjust .env.sample in cli template & all packages.
  • update packages/core-components/app/store/core.ts httpLink to reflect new change for SSG
@mattvb91 mattvb91 added this to To do in Corejam 1.0 via automation Feb 9, 2021
@mattvb91
Copy link
Member Author

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

No branches or pull requests

1 participant