class Middleware::CORSHandler

Overview

Sets the correct CORS headers for the TODO Checklist client origin.

Included Modules

Defined in:

todo_api/controllers/middleware/cors_handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origin : String) #

[View source]

Instance Method Detail

def call(context) #

[View source]