fix(api): add CORS plug to router

Signed-off-by: Amogh Lele <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2022-05-28 11:20:26 +05:30
1 parent 4fcf5489da
commit 54d5dd5c39
3 files changed
+3

No files matched your search

+1
View File
@@ -51,5 +51,6 @@ defmodule KetbinWeb.Endpoint do
plug Plug.MethodOverride
plug Plug.Head
plug Plug.Session, @session_options
plug CORSPlug
plug KetbinWeb.Router
end