You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
When you do app.UsePathBase("/foo") the whole app basically runs at the subpath /foo. So the sitemap at /foo/sitemap.xml should generate paths that respect that path base.
This would usually be super simple, but the middleware is registered using applicationBuilder.Map(…). And the way the MapMiddleware works is by adjusting the path base itself.
So we have to change the way we are matching the path and will likely have to do that within the middleware itself instead. But doing that will actually help us with #5 so we can serve different endpoints later.
The text was updated successfully, but these errors were encountered:
When you do
app.UsePathBase("/foo")
the whole app basically runs at the subpath/foo
. So the sitemap at/foo/sitemap.xml
should generate paths that respect that path base.This would usually be super simple, but the middleware is registered using
applicationBuilder.Map(…)
. And the way theMapMiddleware
works is by adjusting the path base itself.So we have to change the way we are matching the path and will likely have to do that within the middleware itself instead. But doing that will actually help us with #5 so we can serve different endpoints later.
The text was updated successfully, but these errors were encountered: