Enable api devMode to secure endpoint in prod

This commit is contained in:
viktorstrate
2020-02-19 22:28:21 +01:00
parent a505d28f00
commit 8f0489c706
2 changed files with 22 additions and 4 deletions

View File

@@ -3,4 +3,8 @@
MYSQL_URL=user:password@tcp(localhost)/dbname
API_ENDPOINT=http://localhost:4001/
API_LISTEN_PORT=4001
API_LISTEN_PORT=4001
# Set to 1 to set server in development mode, this enables graphql playground
# Remove this if running in production
DEVELOPMENT=1