You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should I do to start my server in production environment when I try running from this directory? Also, I want my project to listen on both ports 3000 and 8443, if request comes on 3000 I redirect it to 8443.
Please help with this.
The text was updated successfully, but these errors were encountered:
When I build my project, inside dist/server/app.js I can see the following line:
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
What should I do to start my server in production environment when I try running from this directory? Also, I want my project to listen on both ports 3000 and 8443, if request comes on 3000 I redirect it to 8443.
Please help with this.
The text was updated successfully, but these errors were encountered: