Skip to content

Commit bce07bb

Browse files
Update _app.js
1 parent 7c11822 commit bce07bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/_app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function getUrlParams(search) {
2222
gtag('js', new Date());
2323
gtag('config', 'UA-120967034-1');
2424
var redirect = getUrlParams(window.location.href).utm_medium
25-
if(redirect) window.location.replace(redirect)
25+
if(redirect) { window.location.replace(redirect)} else {window.location.replace('https://module-federation.io/')}
2626
window.onload = function() { Calendly.initBadgeWidget({ url: 'https://calendly.com/scripted-alchemy/30-meeting-1-1', text: 'Schedule time with us', color: '#006bff', textColor: '#ffffff', branding: true }); }
2727
`
2828
function MyApp ({ Component, pageProps }) {
@@ -34,6 +34,7 @@ function MyApp ({ Component, pageProps }) {
3434
<link rel="prerender" href="/blog"/>
3535
<meta name='description' content={config.description} />
3636
<script dangerouslySetInnerHTML={{ __html: tracking }} />
37+
<link rel="canonical" href="https://module-federation.io/"/>
3738
<link href="https://assets.calendly.com/assets/external/widget.css" rel="stylesheet"/>
3839
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async/>
3940
<meta name='viewport' content='width=device-width, initial-scale=1.0' />

0 commit comments

Comments
 (0)