mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
JS: Add proxy as a route handler name
This commit is contained in:
@@ -310,7 +310,8 @@ module NextJS {
|
||||
)
|
||||
|
|
||||
this =
|
||||
mod.getAnExportedValue([any(Http::RequestMethodName m), "middleware"]).getAFunctionValue()
|
||||
mod.getAnExportedValue([any(Http::RequestMethodName m), "middleware", "proxy"])
|
||||
.getAFunctionValue()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user