Skip to content

Commit

Permalink
Merge pull request #21 from Facets-cloud/updating-frontend-endpoint
Browse files Browse the repository at this point in the history
updating webpack prod to remove hardcoded api server url path
  • Loading branch information
samarthya-gupta1 authored Jun 11, 2024
2 parents 881b824 + 4d6e364 commit 90e5263
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const entries = [
module.exports = {
devtool: 'source-map',
entry: entries,
public:true,
public: true,
output: {
path: path.join(__dirname, 'public/dist/'),
filename: 'bundle.js',
Expand All @@ -24,7 +24,7 @@ module.exports = {
'process.env': {
'NODE_ENV': JSON.stringify('production'),
},
__API_SERVER_URL__: JSON.stringify('https://backend.main-starter-project-demo-dev.saas.facets.cloud')
__API_SERVER_URL__: JSON.stringify('')
})
],
resolve: {
Expand Down

0 comments on commit 90e5263

Please sign in to comment.