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
Hi @virzak -- great question. In the upcoming 2.0 release (see the next branch), the fetch polyfill is no longer provided and this middleware will use fetch from the global scope.
Makes sense @virzak -- I have no experience with ASP.NET and wouldn't know where to begin :) Please let us know how it goes, if you do end up using this package in that environment.
2.0 was just released, so this should be ready to go.
Is there a way to configure our own fetch function?
This is needed to for server-side prerendering in ASP.NET core.
Particularly, ASP.NET Core needs to use a fetch that can takes a relative URL and self signed certificates
Here is an implementation of such fetch.
https://github.com/aspnet/JavaScriptServices/blob/dev/src/Microsoft.AspNetCore.SpaServices/npm/domain-task/src/fetch.ts
Thanks
The text was updated successfully, but these errors were encountered: