Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/utils/http.ts>allowCorsForOrigin

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable allowCorsForOrigin
import { allowCorsForOrigin } from "https://deno.land/x/live@1.57.3/utils/http.ts";

type

(...origin: string[]) => Record<string, string>