This commit is contained in:
iriska-gri committed 2023-09-19 16:40:49 +03:00
1 parent 9f350cbbe1
commit 98df794867
17 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -2,11 +2,11 @@ import {useAccountStore} from '@/store/AccountStore'
import axios from "axios";
const spravURL = 'http://10.252.44.33/accounting6/images/photo/'
// const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://${window.location.host}/`;
const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://${window.location.host}/`;
const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://${window.location.host}/`;
// для релизного меняем 'http://ukd/'
const baseURL = 'http://127.0.0.1:8000/';
// const baseURL = 'http://127.0.0.1:8000/';
async function refreshToken() {