Effect CommunityEC
Effect Community5mo ago
12 replies
Patrick Roza

Adding CORS Middleware to Specific Route Instead of Globally

Layer.provide(HttpLayerRouter.cors()) // provide CORS middleware

cors is a global middleware, can you add it as a non global, only to the rpc route?
Was this page helpful?