File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export default function Container(props) {
5151 < title > { meta . title } </ title >
5252 < meta name = "robots" content = "follow, index" />
5353 < meta content = { meta . description } name = "description" />
54- < meta property = "og:url" content = { `https://codewithdev.github.io ${ router . asPath } ` } />
55- < link rel = "canonical" href = { `https://codewithdev.github.io ${ router . asPath } ` } />
54+ < meta property = "og:url" content = { `https://codewithdev.vercel.app ${ router . asPath } ` } />
55+ < link rel = "canonical" href = { `https://codewithdev.vercel.app ${ router . asPath } ` } />
5656 < meta property = "og:type" content = { meta . type } />
5757 < meta property = "og:site_name" content = "Dev Prakash Sharma" />
5858 < meta property = "og:description" content = { meta . description } />
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default function BlogLayout({
5555 < div className = "text-sm text-gray-700 dark:text-gray-300" >
5656 < a
5757 href = { `https://mobile.twitter.com/search?q=${ encodeURIComponent (
58- `https://codewithdev.github.io /blog/${ post . slug } `
58+ `https://codewithdev.vercel.app /blog/${ post . slug } `
5959 ) } `}
6060 target = "_blank"
6161 rel = "noopener noreferrer"
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ export default function About() {
2323 </ li >
2424 < li >
2525 Website:{ ' ' }
26- < Link href = "https://codewithdev.github.io " >
27- < a > https://codewithdev.github.io </ a >
26+ < Link href = "https://codewithdev.vercel.app " >
27+ < a > https://codewithdev.vercel.app </ a >
2828 </ Link >
2929 </ li >
3030 < li >
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ import { indexQuery } from 'lib/queries';
55export async function getServerSideProps ( { res } ) {
66 const feed = new RSS ( {
77 title : 'Dev Prakash Sharma' ,
8- site_url : 'https://codewithdev.github.io ' ,
9- feed_url : 'https://codewithdev.github.io /feed.xml'
8+ site_url : 'https://codewithdev.vercel.app ' ,
9+ feed_url : 'https://codewithdev.vercel.app /feed.xml'
1010 } ) ;
1111
1212 const allPosts = await sanityClient . fetch ( indexQuery ) ;
1313 allPosts . map ( ( post ) => {
1414 feed . item ( {
1515 title : post . title ,
16- url : `https://codewithdev.github.io /blog/${ post . slug } ` ,
16+ url : `https://codewithdev.vercel.app /blog/${ post . slug } ` ,
1717 date : post . date ,
1818 description : post . excerpt
1919 } ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const createSitemap = (slugs) => `<?xml version="1.0" encoding="UTF-8"?>
77 . map ( ( slug ) => {
88 return `
99 <url>
10- <loc>${ `https://codewithdev.github.io /${ slug } ` } </loc>
10+ <loc>${ `https://codewithdev.vercel.app /${ slug } ` } </loc>
1111 </url>
1212 ` ;
1313 } )
Original file line number Diff line number Diff line change 11User-agent: *
2- Sitemap: https://codewithdev.github.io /sitemap.xml
2+ Sitemap: https://https:// codewithdev.vercel.app /sitemap.xml
You can’t perform that action at this time.
0 commit comments