UNPKG

csp-builder

Version:

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

11 lines (10 loc) 317 B
import { DirectiveType } from '../../types'; import { AbstractMultiValueDirective } from '../abstract-multi-value-directive'; export class MediaSource extends AbstractMultiValueDirective { getDirectiveName() { return 'media-src'; } getDirectiveType() { return DirectiveType.Fetch; } }