NodeJS has a built-in webserver like Apache and nginx. I created a directoryListing using NodeJS and Express, but DBI does not recognize the contents being served. I see the notification "This view contains no items".
Reproduce
Install dependencies
Install NodeJS then run this command inside of a new directory:
npm install express serve-index
Create test.mjs file
Customize the script by giving it a path to some of your NSP files. This is done by editing the const source variable.
DBI version: 598
NodeJS has a built-in webserver like Apache and nginx. I created a directoryListing using NodeJS and Express, but DBI does not recognize the contents being served. I see the notification "This view contains no items".
Reproduce
Install dependencies
Install NodeJS then run this command inside of a new directory:
npm install express serve-index
Create
test.mjs
fileCustomize the script by giving it a path to some of your NSP files. This is done by editing the
const source
variable.Examples Windows:
C:\\Users\\Test\\Switch
Linux:/users/Test/Switch
Run the server
node test.mjs
Connect within DBI
Connect to the server from within DBI using your computer's local network address.
http://192.168.1.10:3000
Example html response