Skip to content

Commit

Permalink
Fix port number. Allow to set port from env
Browse files Browse the repository at this point in the history
  • Loading branch information
treoden committed Oct 28, 2023
1 parent 1d0c5f5 commit 777ebfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/evershop/src/modules/base/api/global/context.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { pool } = require('@evershop/evershop/src/lib/postgres/connection');
const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig');
const {
setContextValue,
hasContextValue
} = require('../../../graphql/services/contextHelper');
const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig');

module.exports = (request, response) => {
response.context = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/evershop/src/modules/base/pages/global/context.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { pool } = require('@evershop/evershop/src/lib/postgres/connection');
const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig');
const {
setContextValue,
hasContextValue
} = require('../../../graphql/services/contextHelper');
const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig');

module.exports = (request, response) => {
response.context = {}; // TODO: Fix this
Expand Down

0 comments on commit 777ebfd

Please sign in to comment.