Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Mar 28, 2024
1 parent c1c1036 commit 44ac827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer-react/src/dataFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function fetchServerLoader({
// 在有basename的情况下__serverLoader的请求路径需要加上basename
// FIXME: 先临时解自定义 serverLoader 请求路径的问题,后续改造 serverLoader 时再提取成类似 runtimeServerLoader 的配置项
const url = `${withEndSlash(
(window as any).serverLoaderPath || basename,
(window as any).umiServerLoaderPath || basename,
)}__serverLoader?${query}`;
fetch(url, {
credentials: 'include',
Expand Down

0 comments on commit 44ac827

Please sign in to comment.