settings for local environment
parent
cb0d18facc
commit
8c4e1c517f
12
src/utils.js
12
src/utils.js
|
@ -8,7 +8,7 @@ import { v4 as uuidv4 } from "uuid";
|
|||
/**
|
||||
* constants
|
||||
*/
|
||||
const wssProtocol = window.location.protocol === "https:" ? "wss://" : "ws://";
|
||||
//const wssProtocol = window.location.protocol === "https:" ? "wss://" : "ws://";
|
||||
|
||||
export const Constants = {
|
||||
COLORS: {
|
||||
|
@ -17,14 +17,14 @@ export const Constants = {
|
|||
ICON_INFO: "#08c",
|
||||
},
|
||||
TEXT_EMPTY_PLACEHOLDER: "-/-",
|
||||
//API_ADDRESS: "http://localhost:8080/v1",
|
||||
//STATIC_CONTENT_ADDRESS: "http://localhost:8080/",
|
||||
//WS_ADDRESS: "ws://localhost:8080/ws",
|
||||
API_ADDRESS:
|
||||
API_ADDRESS: "http://localhost:8080/v1",
|
||||
STATIC_CONTENT_ADDRESS: "http://localhost:8080/",
|
||||
WS_ADDRESS: "ws://localhost:8080/ws",
|
||||
/*API_ADDRESS:
|
||||
window.location.protocol + "//" + window.location.hostname + "/api/v1",
|
||||
STATIC_CONTENT_ADDRESS:
|
||||
window.location.protocol + "//" + window.location.hostname + "/api/",
|
||||
WS_ADDRESS: `${wssProtocol}${window.location.hostname}/ws`,
|
||||
WS_ADDRESS: `${wssProtocol}${window.location.hostname}/ws`,*/
|
||||
ROUTE_PATHS: {
|
||||
GROUP_TASKS: "/group-tasks",
|
||||
GROUP_TASKS_VIEW: "/group-tasks/",
|
||||
|
|
Loading…
Reference in New Issue