fix: build error
This commit is contained in:
parent
702e17c96b
commit
3fb389551b
|
@ -102,7 +102,7 @@ async function request(req: NextRequest, apiKey: string) {
|
||||||
"Cache-Control": "no-store",
|
"Cache-Control": "no-store",
|
||||||
"x-google-api-key":
|
"x-google-api-key":
|
||||||
req.headers.get("x-google-api-key") ||
|
req.headers.get("x-google-api-key") ||
|
||||||
(req.headers.get("Authorization") ?? "").replace("Bearer "),
|
(req.headers.get("Authorization") ?? "").replace("Bearer ", ""),
|
||||||
},
|
},
|
||||||
method: req.method,
|
method: req.method,
|
||||||
body: req.body,
|
body: req.body,
|
||||||
|
|
Loading…
Reference in New Issue