Skip to content

Commit c505474

Browse files
committed
fix: 환경변수 public 변경
1 parent f1c0c24 commit c505474

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib/api/client.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8080";
6969
export const http = ky.create({
7070
prefixUrl: API_BASE_URL,
7171
headers: {
72-
...(isServer() && {
73-
"X-Origin-Verify": process.env.ORIGIN_VERIFY,
74-
}),
72+
"X-Origin-Verify": process.env.NEXT_PUBLIC_ORIGIN_VERIFY,
7573
},
7674
hooks: {
7775
beforeError: [apiErrorHandler],

0 commit comments

Comments
 (0)