Module

x/aleph/server/media_type.ts>registerType

The Full-stack Framework in Deno.
Go to Latest
function registerType
import { registerType } from "https://deno.land/x/aleph@1.0.0-beta.1/server/media_type.ts";

register a new type

Parameters

ext: string
contentType: string