Skip to content

Commit

Permalink
fix: search
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jul 16, 2024
1 parent 2e87254 commit ca238e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function Search() {

useEffect(() => {
(async () => {
const res = await fetch(`/api/search`);
const res = await fetch(`${process.env.SITE_URL}/api/search`);
const data = await res.json();

const config = searchConfigSchema.parse(data);
Expand Down

0 comments on commit ca238e3

Please sign in to comment.