Skip to content

Commit

Permalink
fix: added camera_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuchkouAA committed Feb 19, 2024
1 parent 6dd96c2 commit 35997b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastify.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ fastify.post('/run', async (req, res) => {
value: `http://${ONVIF_SERVICE_URL}:3456/onvif-http/snapshot?camera_ip=${hostname}`,
},
];
envVars.push({ name: 'camera_ip', value: hostname})
}
envVars.push({ name: 'username', value: username });
envVars.push({ name: 'password', value: password });
Expand Down

0 comments on commit 35997b7

Please sign in to comment.