UnschooledGamer commited on
Commit
872cbc7
·
verified ·
1 Parent(s): 019c487

Update auth.lua

Browse files
Files changed (1) hide show
  1. auth.lua +2 -1
auth.lua CHANGED
@@ -5,7 +5,8 @@ return function(req, res, go)
5
  local pass = req.headers["authorization"]
6
  -- Just for Hugging Face
7
  if req.path == '/' then
8
- go()
 
9
  end
10
 
11
  if pass ~= config.server.password then
 
5
  local pass = req.headers["authorization"]
6
  -- Just for Hugging Face
7
  if req.path == '/' then
8
+ res.code = 200
9
+ return
10
  end
11
 
12
  if pass ~= config.server.password then