Skip to content

Commit 16b4418

Browse files
committed
Change Blogs Api Link
1 parent 8bacaf0 commit 16b4418

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/blog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Blog({ articles }) {
2121
}
2222

2323
export async function getStaticProps() {
24-
const res = await fetch('https://dev.to/api/articles?username=web3community', {
24+
const res = await fetch('https://dev.to/api/articles?username=webxdao', {
2525
method: 'GET'
2626
})
2727
const articles = await res.json()

pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function Home({ articles }) {
1919
}
2020

2121
export async function getStaticProps() {
22-
const res = await fetch('https://dev.to/api/articles?username=web3community', {
22+
const res = await fetch('https://dev.to/api/articles?username=webxdao', {
2323
method: 'GET'
2424
})
2525
const articles = await res.json()

0 commit comments

Comments
 (0)