mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:39:19 +00:00
Try to fix client endpoint env var
This commit is contained in:
2
ui/.env
2
ui/.env
@@ -1 +1 @@
|
||||
REACT_APP_GRAPHQL_URI=http://localhost:4001/graphql
|
||||
GRAPHQL_ENDPOINT=http://localhost:4001/graphql
|
||||
@@ -2,7 +2,7 @@
|
||||
FROM node:10
|
||||
|
||||
ARG GRAPHQL_ENDPOINT
|
||||
ENV REACT_APP_GRAPHQL_URI=${GRAPHQL_ENDPOINT}
|
||||
ENV GRAPHQL_ENDPOINT=${GRAPHQL_ENDPOINT}
|
||||
|
||||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
module.exports = {
|
||||
client: {
|
||||
service: {
|
||||
name: 'localhost graphql',
|
||||
url: 'http://localhost:4001/graphql',
|
||||
skipSSLValidation: true
|
||||
}
|
||||
}
|
||||
}
|
||||
name: 'graphql endpoint',
|
||||
url: process.env.GRAPHQL_ENDPOINT || 'http://localhost:4001/graphql',
|
||||
skipSSLValidation: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user