Skip to content

Commit 51134fa

Browse files
committed
fix: use 127.0.0.1
1 parent 402427d commit 51134fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/services/api/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import axios from "axios";
33

44
const cacheApi = setupCache(
55
axios.create({
6-
baseURL: `http://localhost:8000/api`,
6+
baseURL: `http://127.0.0.1:8000/api`,
77
timeout: 20000,
88
headers: {
99
"Content-Type": "application/json",
@@ -15,7 +15,7 @@ const cacheApi = setupCache(
1515
);
1616

1717
const api = axios.create({
18-
baseURL: `http://localhost:8000/api`,
18+
baseURL: `http://127.0.0.1:8000/api`,
1919
timeout: 20000,
2020
headers: {
2121
"Content-Type": "application/json",

0 commit comments

Comments
 (0)