Compare commits

..

No commits in common. "08f17f812b6b33a248b822f4f16e9d7758a90ae3" and "6e3705a6df1a953e903cf2c597412207379f4c49" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@ local function findConfigFile()
local possible_config_path = config_directory .. "/" .. "conf.lua" local possible_config_path = config_directory .. "/" .. "conf.lua"
local fd, res = io.open(possible_config_path, "rb") local fd, res = io.open(possible_config_path, "rb")
if fd then if fd then
log('config found at ' .. possible_config_path)
local data = fd:read("*a") local data = fd:read("*a")
fd:close() fd:close()
return data return data

View file

@ -12,7 +12,7 @@ local function searchCallback(cfg, _ctx)
local authheader = h["authorization"] local authheader = h["authorization"]
if authheader == nil then if authheader == nil then
return 401, "requires authentication" return 400, "requires authentication"
else else
return nil return nil
end end