Archived
2

added presentation

This commit is contained in:
VLE2FE
2020-08-07 15:21:16 +02:00
parent 1396fb0326
commit 8e85e37e5e
27 changed files with 56440 additions and 3 deletions

View File

@ -55,8 +55,18 @@ app.use('/api-doc', helmet.contentSecurityPolicy({
imgSrc: [`'self'`, 'data:']
}
}));
// special CSP header for the intro-presentation
app.use('/static/intro-presentation/index.html', helmet.contentSecurityPolicy({
...defaultHeaderConfig,
directives: {
defaultSrc: [`'none'`],
scriptSrc: [`'self'`, `'unsafe-inline'`],
styleSrc: [`'self'`, `'unsafe-inline'`],
imgSrc: [`'self'`]
}
}));
// special CSP header for the bosch-logo.svg
app.use('/static/img/bosch-logo.svg', helmet.contentSecurityPolicy({
app.use('/static/*.svg', helmet.contentSecurityPolicy({
...defaultHeaderConfig,
directives: {
styleSrc: [`'unsafe-inline'`]