Commit 1c528f85fe071e4613db4743356fc1e6bee6783a
1 parent
8b255b56b6
Exists in
master
module type
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
gateway/heartbeat.js
... | ... | @@ -10,9 +10,10 @@ function sendHeartbeat() { |
10 | 10 | if (!config || !config.core_url) { return; } |
11 | 11 | |
12 | 12 | const requestOptions = { |
13 | - url: config.core_url + '/heartbeat/gateway', | |
13 | + url: config.core_url + '/heartbeats', | |
14 | 14 | form: { |
15 | 15 | name: config.handler_name, |
16 | + module_type: 'gateway', | |
16 | 17 | config: JSON.stringify(config), |
17 | 18 | matrix: JSON.stringify(matrix) |
18 | 19 | } |