Skip to content

Commit

Permalink
Merge pull request #20 from Facets-cloud/revert-19-updating-frontend-…
Browse files Browse the repository at this point in the history
…endpoint

Revert "updating webpack prod to remove hardcoded api server url path"
  • Loading branch information
samarthya-gupta1 authored Jun 11, 2024
2 parents 253ed25 + a22ca69 commit 881b824
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('/api')
__API_SERVER_URL__: JSON.stringify('https://backend.main-starter-project-demo-dev.saas.facets.cloud')
})
],
resolve: {
Expand Down

0 comments on commit 881b824

Please sign in to comment.