mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-22 17:12:03 -07:00
Merge pull request #4 from Permissionless-Software-Foundation/ct-unstable
fix(webhook): Reconfiguring default P2WDB webhook
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ async function startServer () {
|
||||
|
||||
// Create webhook
|
||||
try {
|
||||
await webHookLib.createWebHook('http://157.90.28.11:5667/entry')
|
||||
await webHookLib.createWebHook('http://localhost:5002/entry')
|
||||
console.log('Webhook created')
|
||||
} catch (error) {
|
||||
console.log('Webhook cant be created')
|
||||
|
||||
Vendored
+1
-1
@@ -46,5 +46,5 @@ module.exports = {
|
||||
// P2WDB webhook endpoint
|
||||
webhookService: process.env.WEBHOOKSERVICE
|
||||
? process.env.WEBHOOKSERVICE
|
||||
: 'http://localhost:5001/webhook'
|
||||
: 'http://localhost:5001/webhook' // P2WDB.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user