Skip to content

Commit

Permalink
Testing environment variables for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
basshamut committed Jun 27, 2024
1 parent 2c7be94 commit ff0af44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export default defineConfig({
},
},
define: {
'process.env': process.env
'process.env': {
VITE_API_URL: process.env.VITE_API_URL,
}
}
})

0 comments on commit ff0af44

Please sign in to comment.