Skip to content

Commit

Permalink
fix: use https address for all assets loaded in gatsby ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jan 28, 2021
1 parent 3c2a82d commit 7f57332
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/gatsby-source-newrelic-sdk/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ export const onPreRenderHTML = (
<script
key="react"
crossOrigin="anonymous"
src="//nr1.nr-assets.net/lib/react/16.6.3/react.development.js"
src="https://nr1.nr-assets.net/lib/react/16.6.3/react.development.js"
/>,
<script
key="react-dom"
crossOrigin="anonymous"
src="//nr1.nr-assets.net/lib/react/16.6.3/react-dom.development.js"
src="https://nr1.nr-assets.net/lib/react/16.6.3/react-dom.development.js"
/>,
<script
key="react-router"
crossOrigin="anonymous"
src="//nr1.nr-assets.net/lib/react-router/4.2.0/react-router.js"
src="https://nr1.nr-assets.net/lib/react-router/4.2.0/react-router.js"
/>,
<script
key="react-router-dom"
crossOrigin="anonymous"
src="//nr1.nr-assets.net/lib/react-router-dom/4.2.2/react-router-dom.js"
src="https://nr1.nr-assets.net/lib/react-router-dom/4.2.2/react-router-dom.js"
/>,
<script
key="d3"
crossOrigin="anonymous"
src="//nr1.nr-assets.net/lib/d3/3.5.17/d3.js"
src="https://nr1.nr-assets.net/lib/d3/3.5.17/d3.js"
/>,
]);

Expand Down

0 comments on commit 7f57332

Please sign in to comment.