Skip to content

Commit

Permalink
fix(bull): ui queues
Browse files Browse the repository at this point in the history
  • Loading branch information
ldurans committed Jul 25, 2022
1 parent 8e4501e commit 5ddd98b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ yarn-error.log
.quasar/

backend/.wwebjs_auth/
backend/newrelic_agent.log
newrelic_agent.log
3 changes: 3 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ yarn-error.log
.wwebjs*/
WWebJS/
/home/durans/Projetos/izing.io/backend/.wwebjs_auth

backend/newrelic_agent.log
newrelic_agent.log
6 changes: 3 additions & 3 deletions backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ if (process.env.AMQP_URL) {
MessengerConsumer();
}

if (process.env.NODE_ENV === "dev") {
app.use("/admin/queues", bullRoute);
}
// if (process.env.NODE_ENV === "dev") {
// }
app.use("/admin/queues", bullRoute);

// em produção estou usando assim:
// if (process.env.NODE_ENV === "prod") {
Expand Down

0 comments on commit 5ddd98b

Please sign in to comment.