Compare commits
No commits in common. "08f17f812b6b33a248b822f4f16e9d7758a90ae3" and "6e3705a6df1a953e903cf2c597412207379f4c49" have entirely different histories.
08f17f812b
...
6e3705a6df
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ local function findConfigFile()
|
|||
local possible_config_path = config_directory .. "/" .. "conf.lua"
|
||||
local fd, res = io.open(possible_config_path, "rb")
|
||||
if fd then
|
||||
log('config found at ' .. possible_config_path)
|
||||
local data = fd:read("*a")
|
||||
fd:close()
|
||||
return data
|
||||
|
|
|
@ -12,7 +12,7 @@ local function searchCallback(cfg, _ctx)
|
|||
local authheader = h["authorization"]
|
||||
|
||||
if authheader == nil then
|
||||
return 401, "requires authentication"
|
||||
return 400, "requires authentication"
|
||||
else
|
||||
return nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue