UNPKG

csp-builder

Version:

A builder tool to help generate Content Security Policies in a type-safe way

14 lines (13 loc) 376 B
import { DirectiveType } from '../../types'; import { AbstractMultiValueDirective } from '../abstract-multi-value-directive'; export class PrefetchSource extends AbstractMultiValueDirective { getDirectiveName() { return 'prefetch-src'; } getDirectiveType() { return DirectiveType.Fetch; } getMinimumCspVersion() { return 3; } }