...
 
Commits (2)
import axios from 'axios';
const loginUrl = 'http://danistomi/api/user/login';
const registerUrl = 'http://danistomi/api/user/register';
const saveTransactionUrl = `http://danistomi/api/product`;
const fetchTransactionUrl = `http://danistomi/api/products`;
const loginUrl = 'https://danistomi.com/api/user/login';
const registerUrl = 'https://danistomi.com/api/user/register';
const saveTransactionUrl = `https://danistomi.com/api/product`;
const fetchTransactionUrl = `https://danistomi.com/api/products`;
class API {
static login(loginData) {
......