Add authentication for websockets

This commit is contained in:
viktorstrate
2020-02-21 17:53:04 +01:00
parent b2a8fd09f9
commit 2d15e7c41f
8 changed files with 110 additions and 28 deletions

View File

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