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
We remove the library definition for the express library, remove the own "app" module and add the "app" module of the bundle to the "app.js"
// Load the libraries and modulesletconfig={directory: __dirname+'/',modules: [[require('dragonnodejs-express'),['modules/app',{port: process.env.PORT||80}]],['modules/helloworld',{}]]};require('dragonnodejs')(config);
Now we run "npm install", start the app with "node app.js" and open the page in the browser "http://localhost/"