mirror of https://github.com/hunshcn/gh-proxy
Merge pull request #105 from gizmo-ds/master
fix: Correct type annotation error in worker versionpull/110/head
commit
774d23d86c
2
index.js
2
index.js
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue