Skip to content

Commit e940d8a

Browse files
committed
fix: default config
1 parent 1803943 commit e940d8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distribution config for opm packaging
22
name = lua-resty-waf
3-
version = 1.2.2
3+
version = 1.2.3
44
abstract = Simple WAF based on OpenResty written by Lua
55
author = codiy1992
66
is_original = yes

lib/resty/waf/shared.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function _M.get_config()
1010
if config ~= nil then
1111
return cjson.decode(config)
1212
end
13-
return nil
13+
return require('resty.waf.config')
1414
end
1515

1616
function _M.reload_config()

0 commit comments

Comments
 (0)