fix: debug output2

This commit is contained in:
2023-06-28 08:01:13 +02:00
parent 41ff7add42
commit 9fa9e560b6
+1
View File
@@ -80,6 +80,7 @@ function isDomainAllowed(test, domain) {
}
function isAuthenticated(req) {
console.log("got req: ", req);
if (req.headers && req.headers.authorization) {
console.log("got auth: ", req.headers.authorization);
if (req.headers.authorization == "Basic YXZhdGFyOmphOGNhZmVpOHdhaXBoN0lldmFoR2hhaG5vaDI=") {