change base and prod in local api

features/layout-changes
Ernest Litvinenko 2024-04-22 02:06:52 +03:00
parent c87f2cec45
commit f2e132fb80
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class LocalAPI {
constructor() { constructor() {
this.instance = axios.create({ this.instance = axios.create({
baseURL: "https://relynolli.ru" baseURL: process.env.NODE_ENV === "development" ? "http://localhost:8000" : "https://relynolli.ru"
}) })
} }