Added cors to postgraphile

Necessary for all apollo clients to work properly.
However, this is not optimal since preflight caching is not working properly.
This will be addressed in issue #15
This commit is contained in:
Christoph Lienhard 2020-06-14 03:00:21 +02:00
parent 3e858135fb
commit 354d66cdb0

View file

@ -51,6 +51,7 @@ services:
"--connection", $DATABASE_URL,
"--host", "0.0.0.0",
"--port", "5000",
"--cors",
"--schema", "candymat_data",
"--default-role", "candymat_anonymous",
"--jwt-token-identifier", "candymat_data.jwt_token",