Merge pull request #105 from gizmo-ds/master

fix: Correct type annotation error in worker version
pull/110/head
hunshcn 2023-11-23 19:09:39 +08:00 committed by GitHub
commit 774d23d86c
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/'] const whiteList = [] // 白名单路径里面有包含字符的才会通过e.g. ['/username/']
/** @type {RequestInit} */ /** @type {ResponseInit} */
const PREFLIGHT_INIT = { const PREFLIGHT_INIT = {
status: 204, status: 204,
headers: new Headers({ headers: new Headers({