diff --git a/DysonNetwork.Gateway/Program.cs b/DysonNetwork.Gateway/Program.cs index 8b2e4d0..5bf5152 100644 --- a/DysonNetwork.Gateway/Program.cs +++ b/DysonNetwork.Gateway/Program.cs @@ -94,14 +94,8 @@ var specialRoutes = new[] { RouteId = "sphere-activitypub", ClusterId = "sphere", - Match = new RouteMatch { Path = "activitypub" } + Match = new RouteMatch { Path = "/activitypub/{**catch-all}" } }, - new RouteConfig - { - RouteId = "drive-tus", - ClusterId = "drive", - Match = new RouteMatch { Path = "/api/tus" } - } }; var apiRoutes = GatewayConstant.ServiceNames.Select(serviceName => @@ -192,4 +186,4 @@ app.MapReverseProxy().RequireRateLimiting("fixed"); app.MapControllers(); -app.Run(); \ No newline at end of file +app.Run();