still tweaking linting

This commit is contained in:
Michael Q Larson
2015-01-11 00:07:41 -08:00
parent d8929ac72d
commit ca1f9068b8
2 changed files with 45 additions and 6 deletions

4
app.js
View File

@ -129,13 +129,13 @@ var trusted = [
'ws://localhost:3000/',
'http://localhost:3000',
'*.ionicframework.com',
'https://syndication.twitter.com'
'https://syndication.twitter.com',
];
debug(trusted);
app.use(helmet.contentSecurityPolicy({
defaultSrc: trusted,
scriptSrc: ['*.optimizely.com'].concat(trusted),
scriptSrc: ['*.optimizely.com', '*.aspnetcdn.com'].concat(trusted),
'connect-src': [
'ws://*.rafflecopter.com',
'wss://*.rafflecopter.com',