feat(lua): add Lua route registration in server startup
Add call to registerLuaRoutesWithLocationEngine between proxy and static route registration, ensuring correct routing order: proxy -> lua -> static. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
669f9c975b
commit
a5b5a085cc
@ -410,6 +410,9 @@ func (s *Server) startSingleMode() error {
|
||||
// 注册代理路由
|
||||
s.registerProxyRoutesWithLocationEngine(serverCfg)
|
||||
|
||||
// Lua 路由
|
||||
s.registerLuaRoutesWithLocationEngine(serverCfg)
|
||||
|
||||
// 静态文件服务
|
||||
s.registerStaticHandlersWithLocationEngine(serverCfg)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user