home page url hardcoded
This commit is contained in:
1 parent
aed6c1aac7
commit
a10ea32af3
1 file changed
+1
-1
+1
-1
@@ -30,7 +30,7 @@ const Page = (props) => (
|
||||
)
|
||||
|
||||
Page.getInitialProps = async (ctx) => {
|
||||
const pageUrl = ctx.req.url
|
||||
const pageUrl = '/'
|
||||
const page = 1
|
||||
const pageSize = ctx.query.pageSize
|
||||
const apiUrl = `http://localhost:3000/api/articles?page=${page}&pageSize=${pageSize}`
|
||||
|
||||
Reference in new issue
Block a user