fix: Correct type annotation error in worker version

Fixed a type annotation error, changing incorrect "RequestInit" to the correct "ResponseInit".
pull/105/head
Gizmo 2023-11-07 15:04:16 +08:00 committed by GitHub
parent 4d1ac0a5f0
commit f9408d1340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ const Config = {
const whiteList = [] // 白名单路径里面有包含字符的才会通过e.g. ['/username/']
/** @type {RequestInit} */
/** @type {ResponseInit} */
const PREFLIGHT_INIT = {
status: 204,
headers: new Headers({