Changed websocket connection string.
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
REACT_APP_GRAPHQL_ENDPOINT=https://bodyshop-dev-db.herokuapp.com/v1/graphql
|
REACT_APP_GRAPHQL_ENDPOINT=https://bodyshop-dev-db.herokuapp.com/v1/graphql
|
||||||
REACT_APP_GRAPHQL_ENDPOINT_WS=ws://bodyshop-dev-db.herokuapp.com/v1/graphql
|
REACT_APP_GRAPHQL_ENDPOINT_WS=wss://bodyshop-dev-db.herokuapp.com/v1/graphql
|
||||||
REACT_APP_GA_CODE=217352234
|
REACT_APP_GA_CODE=217352234
|
||||||
|
|||||||
@@ -4,15 +4,13 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#002366" />
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Web site created using create-react-app"
|
content="Web site created using create-react-app"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="logo192.png" />
|
<!-- <link rel="apple-touch-icon" href="logo192.png" /> -->
|
||||||
|
<link rel="apple-touch-icon" href="logo240.png" />
|
||||||
<!-- Roboto Font for Material Design UI -->
|
|
||||||
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" /> -->
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
manifest.json provides metadata used when your web app is installed on a
|
manifest.json provides metadata used when your web app is installed on a
|
||||||
|
|||||||
@@ -20,6 +20,6 @@
|
|||||||
],
|
],
|
||||||
"start_url": ".",
|
"start_url": ".",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"theme_color": "#000000",
|
"theme_color": "#002366",
|
||||||
"background_color": "#ffffff"
|
"background_color": "#000000"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export const GET_ALL_OPEN_JOBS = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
||||||
subscription AllJobs {
|
subscription SUBSCRIPTION_ALL_OPEN_JOBS {
|
||||||
jobs {
|
jobs {
|
||||||
id
|
id
|
||||||
updated_at
|
updated_at
|
||||||
@@ -46,12 +46,3 @@ export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const test = gql`
|
|
||||||
subscription s {
|
|
||||||
masterdata {
|
|
||||||
key
|
|
||||||
value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|||||||
@@ -6,8 +6,7 @@ import { Table, Divider, Icon } from "antd";
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
GET_ALL_OPEN_JOBS,
|
GET_ALL_OPEN_JOBS,
|
||||||
SUBSCRIPTION_ALL_OPEN_JOBS,
|
SUBSCRIPTION_ALL_OPEN_JOBS
|
||||||
test
|
|
||||||
} from "../../graphql/jobs.queries";
|
} from "../../graphql/jobs.queries";
|
||||||
|
|
||||||
export default function JobsPage() {
|
export default function JobsPage() {
|
||||||
|
|||||||
Reference in New Issue
Block a user