Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/entropy/mod.ts>AppConfig

The core module of Entropy framework for Deno.
Latest
interface AppConfig
Re-export
import { type AppConfig } from "https://deno.land/x/entropy@1.0.0-beta.17/mod.ts";

Properties

cache: { enabled: boolean; maxAge: number; }
contentSecurityPolicy: { allowInlineScripts: boolean; allowInlineStyles: boolean; allowedOrigins: string[]; }
cookies: { maxAge: number; }
cors: { allowCredentials: boolean; allowedHeaders: string[]; allowedMethods: string[]; allowedOrigins: string[]; exposedHeaders: string[]; maxAge: number; }
csrfProtection: boolean
encryption: { key: string; }
envFile: string | false
host: string
isDenoDeploy: boolean
isProduction: boolean
jwt: { key: string | null; }
locales: { default: string; supported: string[]; }
logger: { enabled: boolean; staticFileRequests: boolean; }
port: number
seo: { robots: boolean; sitemap: boolean; sitemapExcludeUrls: RoutePath[]; sitemapUrls: RoutePath[]; }
session: { lifetime: number; }
templateDirectives: TemplateDirective[]
tls: { cert: string | false; certFile: string | false; enabled: boolean; key: string | false; keyFile: string | false; }
validatorRules: ValidatorRule[]
webSocket: boolean