🐛 Fix activitypub route in gateway

This commit is contained in:
2025-12-29 19:28:13 +08:00
parent b76f614975
commit bb71c558b1

View File

@@ -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();
app.Run();