File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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:
2121 - name : emwalker/digraph-node:latest
2222 newTag : v1.1.6
2323 - 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 . .
2121# Uncomment the following line in case you want to disable telemetry during the build.
2222# ENV NEXT_TELEMETRY_DISABLED 1
2323
24- ARG DIGRAPH_API_EXTERNAL_URL =https://api.digraph.app
24+ ARG NEXT_PUBLIC_API_URL =https://api.digraph.app
2525
2626RUN yarn next build
2727
@@ -51,4 +51,4 @@ EXPOSE 3002
5151
5252ENV PORT 3002
5353
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') {
1818 loadErrorMessages ( )
1919}
2020
21- const apiOrigin = process . env . DIGRAPH_API_EXTERNAL_URL || 'http://localhost:8080'
22-
2321function 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` } )
2724
2825 return new NextSSRApolloClient ( {
2926 cache : new NextSSRInMemoryCache ( ) ,
You can’t perform that action at this time.
0 commit comments