mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix for Chromium depreciation warning.
This commit is contained in:
parent
f731308dcc
commit
ceced61e60
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class CustomServletDecorator implements AsyncServlet {
|
||||||
HttpHeaderValue headerValue = HttpHeaderValue.of("app;dur=" + (System.nanoTime() - before) / 1000000.0);
|
HttpHeaderValue headerValue = HttpHeaderValue.of("app;dur=" + (System.nanoTime() - before) / 1000000.0);
|
||||||
|
|
||||||
return response.withHeader(HEADER, headerValue).withHeader(ACCESS_CONTROL_ALLOW_ORIGIN, "*")
|
return response.withHeader(HEADER, headerValue).withHeader(ACCESS_CONTROL_ALLOW_ORIGIN, "*")
|
||||||
.withHeader(ACCESS_CONTROL_ALLOW_HEADERS, "*");
|
.withHeader(ACCESS_CONTROL_ALLOW_HEADERS, "*, Authorization");
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue