Spaces:
Sleeping
Sleeping
Update auth.lua
Browse files
auth.lua
CHANGED
@@ -3,6 +3,8 @@ local config = require('../utils/config')
|
|
3 |
|
4 |
return function(req, res, go)
|
5 |
local pass = req.headers["authorization"]
|
|
|
|
|
6 |
-- Just for Hugging Face
|
7 |
if req.path == '/' then
|
8 |
res.code = 200
|
|
|
3 |
|
4 |
return function(req, res, go)
|
5 |
local pass = req.headers["authorization"]
|
6 |
+
|
7 |
+
p('[addon - auth]', req.path)
|
8 |
-- Just for Hugging Face
|
9 |
if req.path == '/' then
|
10 |
res.code = 200
|