Skip to content

Commit

Permalink
Adjusted next config env variable handling, added graphql types to pr…
Browse files Browse the repository at this point in the history
…ettier ignore
  • Loading branch information
vladokuskov committed May 27, 2024
1 parent c159121 commit beda4a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
**/.svn
**/.hg
**/node_modules
tailwind.config.js
tailwind.config.js
__graphqlTypes__
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nextConfig = {
output: 'standalone',
env: {
APP_SERVER_URL: process.env.APP_SERVER_URL,
APP_SERVER_URL: process.env.NEXT_PUBLIC_APP_SERVER_URL,
},
webpack: (config) => {
config.module.rules.push({
Expand Down

0 comments on commit beda4a8

Please sign in to comment.