Skip to main content
Module

x/live/utils/http.ts>allowCorsForOrigin

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Very Popular
Go to Latest
variable allowCorsForOrigin
import { allowCorsForOrigin } from "https://deno.land/x/live@1.77.0/utils/http.ts";

type

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