Skip to content

Commit

Permalink
fix: api url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jiohjung98 committed May 28, 2024
1 parent a9f4068 commit 37c5c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/map/getOffice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const backendUrl = process.env.NEXT_PUBLIC_BASE_URL;
export const getBranchInfo = async () => {
try {
const token = document.cookie.replace(/(?:(?:^|.*;\s*)token\s*=\s*([^;]*).*$)|^.*$/, "$1");
const response = await fetch(`${backendUrl}/branches`, {
const response = await fetch(`${backendUrl}branches`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
Expand Down

0 comments on commit 37c5c33

Please sign in to comment.