Skip to content

Commit

Permalink
feat. local -> aptner.ha-ving.store
Browse files Browse the repository at this point in the history
  • Loading branch information
alreadyme24 committed May 27, 2024
1 parent 4826e3a commit a4fa5b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/community/[category]/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Page({
const { category, id } = params

const res = await fetch(
`${process.env.NEXT_PUBLIC_CLIENT_URL}/api/community/${category}/${id}`
`https://aptner.ha-ving.store/api/community//api/community/${category}/${id}`
)
const responseData = await res.json()
let componentProps = { responseData }
Expand Down
3 changes: 2 additions & 1 deletion app/community/[category]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default async function Page({
const { title } = searchParams

const res = await fetch(
`${process.env.NEXT_PUBLIC_CLIENT_URL}/api/community/${category}?keyword=${title}`
// `${process.env.NEXT_PUBLIC_CLIENT_URL}/api/community/${category}?keyword=${title}`
`https://aptner.ha-ving.store/api/community/${category}?keyword=${title}`
)
const responseData = await res.json()
let componentProps = { responseData, category }
Expand Down

0 comments on commit a4fa5b7

Please sign in to comment.