🐛 Fix activitypub route in gateway
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user