Skip to content

Commit

Permalink
Merge pull request #82 from deepak-likes-code/bug-fix/projects-url
Browse files Browse the repository at this point in the history
fix(url): fixed the invalid URL in the env example and projects.tsx file
  • Loading branch information
srijani07 authored Jun 6, 2023
2 parents a747e22 + 16ea13c commit d652bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function Home(props: {

export async function getStaticProps() {
return axios
.get(`${process.env.BACKEND_URL}/xp`)
.get(`${process.env.BACKEND_URL}xp`)
.then(async (res) => {
const personData = res.data.personData;
const bountyDataJson = res.data.bountyDataJson;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function Projects({ projectsData }: propsType) {

export async function getStaticProps() {
return axios
.get(`${process.env.PROJECTS_URL}/api/v1/xp/projects`)
.get(`${process.env.PROJECTS_URL}`)
.then(async (res) => {
const projectsData = res.data.data;
return {
Expand Down

1 comment on commit d652bfc

@vercel
Copy link

@vercel vercel bot commented on d652bfc Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.