Browse Source

Ready for production

release-test
Djordje Mitrovic 3 years ago
parent
commit
ffb8bac7fb
4 changed files with 4 additions and 4 deletions
  1. 1
    1
      package.json
  2. 1
    1
      src/request/index.js
  3. 1
    1
      src/socket/socket.js
  4. 1
    1
      src/store/middleware/accessTokensMiddleware.js

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
{
"name": "web",
"version": "4.0.5",
"version": "4.0.6",
"private": true,
"dependencies": {
"@emotion/react": "^11.5.0",

+ 1
- 1
src/request/index.js View File

@@ -5,7 +5,7 @@ const request = axios.create({
// baseURL: "http://192.168.88.150:3001/", // DJOLE
// baseURL: "http://192.168.88.175:3005/",
// baseURL: "http://192.168.88.143:3001/", // DULE
baseURL: "https://trampa-api-test.dilig.net/",
baseURL: "https://trampa-api.dilig.net/",
// baseURL: "http://localhost:3001/",
// baseURL: process.env.REACT_APP_BASE_API_URL,
headers: {

+ 1
- 1
src/socket/socket.js View File

@@ -1,6 +1,6 @@
import io from "socket.io-client";

export const socket = io("https://trampa-api-test.dilig.net/", {
export const socket = io("https://trampa-api.dilig.net/", {
// export const socket = io("http://localhost:3001/", {
// export const socket = io(process.env.REACT_APP_BASE_API_URL, {
transports: ["websocket"],

+ 1
- 1
src/store/middleware/accessTokensMiddleware.js View File

@@ -15,7 +15,7 @@ import { logoutUser, refreshUserToken } from "../actions/login/loginActions";
//Change URL with .env
// const baseURL = "http://192.168.88.143:3001/"; // DULE
// const baseURL = "http://192.168.88.175:3005/";
const baseURL = "https://trampa-api-test.dilig.net/";
const baseURL = "https://trampa-api.dilig.net/";
// const baseURL = "http://192.168.88.150:3001/"; // DJOLE
// const baseURL = "http://localhost:3001/";
// const baseURL = process.env.REACT_APP_BASE_API_URL

Loading…
Cancel
Save