Add deploy script and move some vars to env file for prod and local
This commit is contained in:
@@ -2,7 +2,7 @@ import axios, {AxiosPromise, AxiosResponse} from 'axios'
|
||||
import {JoinCreateGameObject, IsStartedObject, ApiObject, GameStateObject, MyTurnObject, GuessAction} from "@/objects/objects";
|
||||
|
||||
export default class PerudoApi {
|
||||
private static baseUrl = 'http://localhost:8000/'
|
||||
private static baseUrl = process.env.VUE_APP_BASE_URL;
|
||||
|
||||
private static objectInstance?: PerudoApi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user