Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
solerian-api
master
Solerian
Auth
Passwd
User
CorsHandler
DB
Base
Entry
Meaning
Section
Sectionable
Storage
LogHandler
Validation
Generated using Crystal 1.14.0
2024-12-22 09:50:57 UTC
class
Solerian::
CorsHandler
Solerian::CorsHandler
Reference
Object
Included Modules
HTTP::Handler
Defined in:
solerian.cr
Constant Summary
ORIGINS
=
ENV
[
"CORS_ORIGINS"
].split(
","
)
Instance Method Summary
#call
(context : HTTP::Server::Context)
Instance Method Detail
def
call
(context : HTTP::Server::Context)
#
[
View source
]