'use client' import type { MiddlewareHookReturn } from './types' interface SecurityTabProps { hook: MiddlewareHookReturn } export default function SecurityTab({ hook }: SecurityTabProps) { return (
Loading...
return (HSTS (Strict-Transport-Security)
Force HTTPS connections
CSP (Content-Security-Policy)
Control resource loading
Loading...
return ({((config.config.max_body_size || 10485760) / 1024 / 1024).toFixed(1)} MB
{((config.config.max_file_size || 52428800) / 1024 / 1024).toFixed(1)} MB