Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
This adds CORS to the app. It allows you to specify, via environmental variables, which allowed origins you can use. This is useful for a variety of scenarios and is specifically useful in the case of using this server for an API or accessing it from other origins (like using Ionic).
Allow us to pass a list of domains allowed for CORS:
[semi-automated message] Hi, there has been no activity in this issue for a while so I'm closing it to keep the issues/pull requests manageable. If this is still an issue, please re-open with additional details.
This adds CORS to the app. It allows you to specify, via environmental variables, which allowed origins you can use. This is useful for a variety of scenarios and is specifically useful in the case of using this server for an API or accessing it from other origins (like using Ionic).
Allow us to pass a list of domains allowed for CORS: