Skip to main content
Module

x/dactyl/Application.ts>Application#cors

Web framework for Deno, built on top of Oak 🦇
Latest
method Application.prototype.cors
import { Application } from "https://deno.land/x/dactyl@v0.1.0-alpha/Application.ts";

CORS middleware, will be enabled in constructor if appConfig.cors is true

Parameters

context: Context
next: Function

Returns

Promise<void>