Генератор Колод Beta 1.1
This commit is contained in:
@@ -7,6 +7,8 @@ module ClashDeckGenerator2
|
||||
include Deps[view: "views.home.index"]
|
||||
|
||||
def handle(_req, res)
|
||||
res.headers.delete("Content-Security-Policy")
|
||||
|
||||
roles_repo = ClashDeckGenerator2::Services::CardRolesRepository.new
|
||||
cards_repo = ClashDeckGenerator2::Repos::CardsRepo.new
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ module ClashDeckGenerator2
|
||||
module Actions
|
||||
module Home
|
||||
class Index < ClashDeckGenerator2::Action
|
||||
def handle(_req, _res)
|
||||
def handle(_req, res)
|
||||
res.headers.delete("Content-Security-Policy")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user