data-debug-fix

This commit is contained in:
Untone 2024-03-04 18:52:10 +03:00
parent 8a723309b4
commit a96ab447b6

View File

@ -17,6 +17,7 @@ const server = Server.configure({
connection.requiresAuthentication = true; connection.requiresAuthentication = true;
}, },
onAuthenticate(data) { onAuthenticate(data) {
console.debug(data)
if (!data.requestHeaders) { if (!data.requestHeaders) {
console.error('Request headers not found'); console.error('Request headers not found');
return null; return null;