删除配置文件拦截器改为代码控制

This commit is contained in:
xx
2024-06-06 23:15:46 +08:00
parent f9174cd028
commit 00e3977d78
13 changed files with 127 additions and 47 deletions

View File

@@ -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