mirror of
https://github.com/iv-org/invidious.git
synced 2026-02-12 15:18:29 -06:00
21 lines
442 B
Crystal
21 lines
442 B
Crystal
module Invidious::Routes
|
|
private REQUEST_HEADERS_WHITELIST = {
|
|
"accept",
|
|
"accept-encoding",
|
|
"cache-control",
|
|
"content-length",
|
|
"if-none-match",
|
|
"range",
|
|
}
|
|
private RESPONSE_HEADERS_BLACKLIST = {
|
|
"access-control-allow-origin",
|
|
"alt-svc",
|
|
"server",
|
|
"cross-origin-opener-policy-report-only",
|
|
"report-to",
|
|
"cross-origin",
|
|
"timing-allow-origin",
|
|
"cross-origin-resource-policy",
|
|
}
|
|
end
|