mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(api): 🐛 Set proxy redirect to manual
This commit is contained in:
parent
43b41b793f
commit
06e97bbf0a
1
index.ts
1
index.ts
|
|
@ -166,6 +166,7 @@ app.all("*", async (context) => {
|
||||||
"X-Forwarded-Host": `${config.http.bind}:${config.http.bind_port}`,
|
"X-Forwarded-Host": `${config.http.bind}:${config.http.bind_port}`,
|
||||||
"Accept-Encoding": "identity",
|
"Accept-Encoding": "identity",
|
||||||
},
|
},
|
||||||
|
redirect: "manual",
|
||||||
}).catch(async (e) => {
|
}).catch(async (e) => {
|
||||||
await dualLogger.logError(LogLevel.ERROR, "Server.Proxy", e as Error);
|
await dualLogger.logError(LogLevel.ERROR, "Server.Proxy", e as Error);
|
||||||
await dualLogger.log(
|
await dualLogger.log(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue