mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Fix missing TypeScript entries in headers
This commit is contained in:
parent
576a5c83db
commit
a87c8b6cc5
1
index.ts
1
index.ts
|
|
@ -163,6 +163,7 @@ const logRequest = async (req: Request) => {
|
||||||
|
|
||||||
// Add headers
|
// Add headers
|
||||||
// @ts-expect-error TypeScript is missing entries for some reason
|
// @ts-expect-error TypeScript is missing entries for some reason
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||||
const headers = req.headers.entries();
|
const headers = req.headers.entries();
|
||||||
|
|
||||||
for (const [key, value] of headers) {
|
for (const [key, value] of headers) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue