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_EXPIRATION=720h
# Prisma
PRISMA_ENDPOINT=http://localhost:4466/
PRISMA_SECRET=my-super-secret
# Playground
PLAYGROUND=true

View File

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