File tree 4 files changed +6
-9
lines changed 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
- v1.2.9
1
+ v1.2.12
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ images:
21
21
- name : emwalker/digraph-node:latest
22
22
newTag : v1.1.6
23
23
- name : emwalker/digraph-node:next
24
- newTag : v1.2.9
24
+ newTag : v1.2.12
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ COPY . .
21
21
# Uncomment the following line in case you want to disable telemetry during the build.
22
22
# ENV NEXT_TELEMETRY_DISABLED 1
23
23
24
- ARG DIGRAPH_API_EXTERNAL_URL =https://api.digraph.app
24
+ ARG NEXT_PUBLIC_API_URL =https://api.digraph.app
25
25
26
26
RUN yarn next build
27
27
@@ -51,4 +51,4 @@ EXPOSE 3002
51
51
52
52
ENV PORT 3002
53
53
54
- CMD DIGRAPH_API_EXTERNAL_URL=https://api.digraph.app HOSTNAME="0.0.0.0" node server.js
54
+ CMD HOSTNAME="0.0.0.0" node server.js
Original file line number Diff line number Diff line change @@ -18,12 +18,9 @@ if (process.env.NODE_ENV !== 'production') {
18
18
loadErrorMessages ( )
19
19
}
20
20
21
- const apiOrigin = process . env . DIGRAPH_API_EXTERNAL_URL || 'http://localhost:8080'
22
-
23
21
function makeClient ( ) {
24
- const httpLink = new HttpLink ( {
25
- uri : `${ apiOrigin } /graphql` ,
26
- } )
22
+ const apiOrigin = process . env . NEXT_PUBLIC_API_URL || 'http://localhost:8080'
23
+ const httpLink = new HttpLink ( { uri : `${ apiOrigin } /graphql` } )
27
24
28
25
return new NextSSRApolloClient ( {
29
26
cache : new NextSSRInMemoryCache ( ) ,
You can’t perform that action at this time.
0 commit comments