Implement customizable buttons via env vars (fixes #214)

This commit is contained in:
schlagmichdoch 2023-12-13 17:40:48 +01:00
parent 09451caf86
commit e06fa47c96
5 changed files with 124 additions and 7 deletions

View file

@ -49,7 +49,8 @@ export default class PairDropServer {
// By using `WS_SERVER`, you can host an instance that uses another signaling server.
app.get('/config', (req, res) => {
res.send({
signalingServer: conf.signalingServer
signalingServer: conf.signalingServer,
buttons: conf.buttons
});
});