Selaa lähdekoodia

TO ENV

master
Krisna Yana Javista 2 vuotta sitten
vanhempi
commit
3624f804f4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      index.mjs

+ 1
- 1
index.mjs Näytä tiedosto

@@ -30,7 +30,7 @@ app.get('/', (_req, res) => {
res.status.send(200).send("Amigo Receipt Sender Service Homepage!")
})

amqp.connect('amqp://localhost' ).then(async conn=> {
amqp.connect(process.env.AMQP_SERVER).then(async conn=> {
const ch = await conn.createChannel()
const queue = ch.assertQueue(queueName, { durable: true })
if (queue) {


Ladataan…
Peruuta
Tallenna