Minor changes

This commit is contained in:
Douglas Barone 2020-11-17 15:59:16 -04:00
parent 4ed5ea0de7
commit 61792a0dc5
3 changed files with 4 additions and 8 deletions

View File

@ -23,10 +23,6 @@ WATCHER_GROUP=PP-PTI-Watchers
JWT_SECRET=VoceDeveAlterarEstaVariavelECYxhfBk6weKyJupHRaX2VtvZS4Fn7DdscMmrjWP9AbGqgQ3L8 JWT_SECRET=VoceDeveAlterarEstaVariavelECYxhfBk6weKyJupHRaX2VtvZS4Fn7DdscMmrjWP9AbGqgQ3L8
JWT_EXPIRATION=720h JWT_EXPIRATION=720h
# Prisma
PRISMA_ENDPOINT=http://localhost:4466/
PRISMA_SECRET=my-super-secret
# Playground # Playground
PLAYGROUND=true PLAYGROUND=true

View File

@ -8,14 +8,14 @@ import './cronTasks'
console.log( console.log(
process.env.NODE_ENV === 'production' process.env.NODE_ENV === 'production'
? 'Running in production' ? '[Running in production]'
: 'Running in development' : '[Running in development]'
) )
server.listen().then(options => { server.listen().then(options => {
console.log( console.log(
`\n---\nServer ready!`, `\n---\nServer ready!`,
`\nEndpoint: ${options.url}graphql:${options.port} `, `\nEndpoint: ${options.url}graphql`,
`\nWebSocket: ${options.subscriptionsUrl}\n---` `\nWebSocket: ${options.subscriptionsUrl}\n---`
) )
}) })