auth
This commit is contained in:
@@ -4,7 +4,7 @@ import { useRouter } from 'vue-router';
|
|||||||
|
|
||||||
// Создаем экземпляр axios
|
// Создаем экземпляр axios
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: 'http://localhost:8000/api/v1',
|
baseURL: 'https://luminic.space/api/v1',
|
||||||
});
|
});
|
||||||
|
|
||||||
// Устанавливаем токен из localStorage при каждом запуске
|
// Устанавливаем токен из localStorage при каждом запуске
|
||||||
|
|||||||
Reference in New Issue
Block a user