Skip to content

Commit

Permalink
push with localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
nuotsu committed Aug 11, 2024
1 parent 6465920 commit 8119c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function fetchAPI<T = any>(
next?: RequestInit['next']
} = {},
) {
const url = new URL(`/api${endpoint}`, BASE_URL)
const url = new URL(`/api${endpoint}`, `http://localhost:3000`)

if (params) {
Object.entries(params).forEach(([key, value]) => {
Expand Down

0 comments on commit 8119c99

Please sign in to comment.