mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 04:06:01 +01:00
fix(api): 🐛 Actually use x-forwarded-proto support code
This commit is contained in:
parent
8ec1c6d027
commit
3f8fa14ff9
|
|
@ -50,7 +50,7 @@ export const createServer = (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const output = await app.fetch(req, { ip });
|
const output = await app.fetch(new Request(url, req), { ip });
|
||||||
|
|
||||||
await debugResponse(output.clone());
|
await debugResponse(output.clone());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue