mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-12 14:12:45 +00:00
Remove CSPDirectives as own Type
Signed-off-by: Yannick Bungers <git@innay.de> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
8ce724175b
commit
89563110c5
1 changed files with 2 additions and 11 deletions
|
@ -1,16 +1,7 @@
|
|||
import { Permission } from './enum'
|
||||
import { IHelmetContentSecurityPolicyDirectives } from 'helmet'
|
||||
|
||||
export interface CSPDirectives {
|
||||
defaultSrc?: string[];
|
||||
scriptSrc?: string[];
|
||||
imgSrc?: string[];
|
||||
styleSrc?: string[];
|
||||
fontSrc?: string[];
|
||||
objectSrc?: string[];
|
||||
mediaSrc?: string[];
|
||||
childSrc?: string[];
|
||||
connectSrc?: string[];
|
||||
}
|
||||
type CSPDirectives = IHelmetContentSecurityPolicyDirectives
|
||||
|
||||
export interface Config {
|
||||
permission: Permission;
|
||||
|
|
Loading…
Reference in a new issue