Ad
Node.js Multiple Webapps
I am currently in testing phase, going through all webserver options. I was wondering if it was possible to run a directory of webapps on the same port on node.js (basically to have multiple versions of my app with a config calling different apis). In the same way one can have a version Directory in Apache or Tomcat.
Ad
Answer
[SOLVED] I figured it out, what I did was create a folder as a directory and added all the builds to it and called http-server
in the folder containing the builds
Ad
source: stackoverflow.com
Related Questions
- → Maximum call stack exceeded when instantiating class inside of a module
- → Browserify api: how to pass advanced option to script
- → Node.js Passing object from server.js to external modules?
- → gulp-rename makes copies, but does not replace
- → requiring RX.js in node.js
- → Remove an ObjectId from an array of objectId
- → Can not connect to Redis
- → React: How to publish page on server using React-starter-kit
- → Express - better pattern for passing data between middleware functions
- → Can't get plotly + node.js to stream data coming through POST requests
- → IsGenerator implementation
- → Async/Await not waiting
- → (Socket.io on nodejs) Updating div with mysql data stops without showing error
Ad