Skip to content

Commit

Permalink
Update src/OcelotGateway/Services/GatewayConfigurationService.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Bratuś <[email protected]>
  • Loading branch information
radu-popescu and Artonus committed Jun 29, 2023
1 parent 7cb861f commit d470455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OcelotGateway/Services/GatewayConfigurationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void CreateDynamicRoute(GatewayAddNetAppEntryMessage msg)
ClusterId = clusterCfg.ClusterId //
};
// transforms allow us to change the path that is requested like below to replace direct forwarding
routeCfg = routeCfg.WithTransformPathSet("/");
routeCfg = routeCfg.WithTransformPathRemovePrefix($"/{msg.NetAppName}");

clusterList.Add(clusterCfg);
routeList.Add(routeCfg);
Expand Down

0 comments on commit d470455

Please sign in to comment.