Merge branch 'main' into razrab

This commit is contained in:
Nukeap committed 2023-09-19 18:35:08 +03:00
commit 01d356f8d1
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -2,3 +2,4 @@ env/
/__pycache__/
/*/__pycache__/
/*/migrations/
/portal/
BIN
View File
Binary file not shown.
+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() {