mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Only truncate '/function/...' paths.
Signed-off-by: Thomas E Lackey <telackey@bozemanpass.com>
This commit is contained in:
committed by
Alex Ellis
parent
decf9addb3
commit
8749e0d891
@ -74,7 +74,7 @@ func main() {
|
||||
functionURLResolver = urlResolver
|
||||
}
|
||||
|
||||
urlTransformer := handlers.PathTruncatingURLPathTransformer{}
|
||||
urlTransformer := handlers.FunctionPathTruncatingURLPathTransformer{}
|
||||
var functionURLTransformer handlers.URLPathTransformer
|
||||
|
||||
if config.PassURLPathsToFunctions {
|
||||
|
Reference in New Issue
Block a user