删除配置文件拦截器改为代码控制
This commit is contained in:
@@ -4,5 +4,6 @@ print("init fast web success!")
|
||||
-- 自定义模块演示
|
||||
local hello = hello.new()
|
||||
print("Custom Module: "..hello:name())
|
||||
|
||||
-- 增加拦截器
|
||||
interceptor.add("/api/*.*","/api/lib/interceptor.lua")
|
||||
return true
|
||||
Reference in New Issue
Block a user