Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 22e272a

Browse files
jacques42andi34
authored andcommitted
remotebuzzer: changed io library cors settings to permit any origin
1 parent 24cbea5 commit 22e272a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/js/remotebuzzer_server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ function photoboothAction(type) {
9797

9898
const ioServer = require('socket.io')(config.remotebuzzer.port, {
9999
cors: {
100-
origin: 'http://' + config.webserver.ip,
101-
methods: ['GET', 'POST']
100+
origin: '*'
102101
}
103102
});
104103

0 commit comments

Comments
 (0)