Add CORS headers to local URLs

This commit is contained in:
Omar Roth 2018-08-07 13:18:38 -05:00
parent 0b363ff471
commit c1bb75e616
2 changed files with 13 additions and 1 deletions

View file

@ -17,7 +17,7 @@ class Config
end
class FilteredCompressHandler < Kemal::Handler
exclude ["/videoplayback/*", "/api/*"]
exclude ["/videoplayback", "/api/*"]
def call(env)
return call_next env if exclude_match? env