mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-21 17:05:31 +00:00
API: Add APIHandler back
This handler should no have been removed in 4276, as it adds the required CORS header (Access-Control-Allow-Origin) for public acces to the API. Thanks to iBicha for noticing this!
This commit is contained in:
@@ -217,6 +217,7 @@ public_folder "assets"
|
||||
|
||||
Kemal.config.powered_by_header = false
|
||||
add_handler FilteredCompressHandler.new
|
||||
add_handler APIHandler.new
|
||||
add_handler AuthHandler.new
|
||||
add_handler DenyFrame.new
|
||||
add_context_storage_type(Array(String))
|
||||
|
||||
Reference in New Issue
Block a user