Minor changes
This commit is contained in:
parent
4ed5ea0de7
commit
61792a0dc5
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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---`
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user