From 45e8ca5ed6f1598c81f4f80c71a9438b4cb423e0 Mon Sep 17 00:00:00 2001 From: Kwaroran Date: Sat, 21 Dec 2024 01:15:40 +0900 Subject: [PATCH] Update documentation for nativeFetch to clarify CORS restrictions and API design --- plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.md b/plugins.md index 18609b9b..4f0edd52 100644 --- a/plugins.md +++ b/plugins.md @@ -48,7 +48,7 @@ Fetches a URL with a native API, which doesn't have CORS restrictions. ### `nativeFetch(url: string, arg: NativeFetchArg = {}): Promise` -Fetches a URL with the native fetch API, which has CORS restrictions. +Fetches a URL with the native API, which doesn't have CORS restrictions. this API is designed as a subset of [fetch api](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) with a few differences. #### Arguments