Skip to content

Commit

Permalink
on component: global.fetch -> fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazuh committed Feb 26, 2024
1 parent 1a68cfa commit d937fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/project-workspace/Runtime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function Runtime(props: RuntimeProps) {

begin(requestInfo);
try {
const response = await global.fetch(running.url, {
const response = await fetch(running.url, {
method: requestInfo.method,
headers: requestInfo.headers.reduce(
(headers, header) => ({ ...headers, [header.key]: header.value }),
Expand Down

0 comments on commit d937fc5

Please sign in to comment.