Add bitly url shortening to twitter buttons

This commit is contained in:
Nathan Leniz
2015-02-23 08:01:55 +09:00
parent 9b16174070
commit 0674466f5f
3 changed files with 29 additions and 11 deletions

3
app.js
View File

@@ -144,7 +144,8 @@ var trusted = [
'https://*.togetherjs.com',
'wss://hub.togetherjs.com',
'*.ytimg.com',
'wss://fcctogether.herokuapp.com'
'wss://fcctogether.herokuapp.com',
'*.bitly.com'
];
app.use(helmet.contentSecurityPolicy({