Skip to content

Commit

Permalink
Use codefund.io for ad render
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Berry authored and XhmikosR committed Jun 14, 2019
1 parent 82adb9d commit d0b92ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/helmet-csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const CSP = {
'codefund.app',
'cdn2.codefund.app',
'codefund.io',
'cdn.codefund.io',
'launchbit.com',
'www.launchbit.com',
'www.ziprecruiter.com'
Expand All @@ -69,7 +70,8 @@ const CSP = {
],
connectSrc: [
'syndication.twitter.com',
'cdn2.codefund.app'
'cdn2.codefund.app',
'cdn.codefund.io'
],
objectSrc: [
'img.shields.io'
Expand Down
2 changes: 1 addition & 1 deletion views/_partials/codefund.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#codefund

block scripts
script(async, src='https://codefund.app/properties/101/funder.js')
script(async, src='https://codefund.io/properties/101/funder.js')
2 changes: 1 addition & 1 deletion views/about.pug
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ block content

p.
In May 2018, we created #[a(href='https://opencollective.com/getbootstrapcdn', rel='noopener', target='_blank') an organization on Open Collective].
We use the collective for any money we make from ethical advertisements (#[a(href='https://codefund.app/?utm_campaign=partner&utm_source=bootstrapcdn&utm_medium=bootstrapcdn', rel='noopener', target='_blank') CodeFund])
We use the collective for any money we make from ethical advertisements (#[a(href='https://codefund.io/invite/EBoAxC6PuGU', rel='noopener', target='_blank') CodeFund])
and affiliate commissions (#[a(href='/themes/') Themes], #[a(href='/books/') Books] and #[a(href='/jobs/') Jobs]).
This allows us to do the following:

Expand Down

0 comments on commit d0b92ac

Please sign in to comment.