Генератор Колод Beta 1.1

This commit is contained in:
2026-03-29 00:19:59 +05:00
parent 112d101f54
commit 082c1b308b
7 changed files with 251 additions and 47 deletions

View File

@@ -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

View File

@@ -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