mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🐛 Fix proxy returning incorrect media due to compression
This commit is contained in:
parent
8557867ad8
commit
ad4466a260
3 changed files with 6 additions and 48 deletions
|
|
@ -112,7 +112,7 @@ describe("POST /api/auth/login/", () => {
|
|||
describe("GET /oauth/authorize/", () => {
|
||||
test("should get a code", async () => {
|
||||
const response = await sendTestRequest(
|
||||
new Request(new URL(`/oauth/authorize`, base_url), {
|
||||
new Request(new URL("/oauth/authorize", base_url), {
|
||||
method: "POST",
|
||||
headers: {
|
||||
Cookie: `jwt=${jwt}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue