This commit is contained in:
iriska-gri committed 2023-09-20 07:42:35 +03:00
commit ba80c63eee
23 files changed
+21 -353

No files matched your search

+3 -3
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 baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://${window.location.host}/`;
const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://${window.location.host}:9965/`;
const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://${window.location.host}:9965/`;
// для релизного меняем 'http://ukd/'
const baseURL = 'http://127.0.0.1:8000/';
// const baseURL = 'http://127.0.0.1:8000/';
async function refreshToken() {