agraboso / agraboso/redux-api-middleware

asp.net core serverside prerendering - fetch

未關閉
#156 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement question
主要語言
JavaScript
星號
1.5k
分支
190
PR 合併指標
30 天內沒有已合併 PR

描述

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](https://github.com/aspnet/JavaScriptServices/issues/1187) URL and [self signed certificates](https://github.com/aspnet/JavaScriptServices/issues/1090#issuecomment-313405030)

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。