update sockets, account, auth

This commit is contained in:
riqo 2021-06-14 08:52:01 -05:00
commit d851db2fcc
20 changed files with 411 additions and 326 deletions

View file

@ -1,10 +1,8 @@
import axios, { AxiosRequestConfig } from 'axios';
import {config} from "@/config";
const preFix = '/api';
const baseURL = "http://127.0.0.1:3000" + preFix;
const baseURL = config.BUSINESS_URL + config.BUSINESS_PREFIX;
interface Request {
endpoint: string;
@ -12,7 +10,6 @@ interface Request {
config?: Record<string, any>;
}
const makeQuery = (reqQuery: Record<string, any>) => {
let result = '';