Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 400 Bytes

File metadata and controls

14 lines (8 loc) · 400 Bytes

static-nodejs-server

Description

This is a simple server that just serves whatever is requested back to the requester.

Should send the files back with the correct mime-type, but if the type isn't specified in the list, it will return it as application/octet-stream

Usage

  1. Install nodeJS
  2. From your web directory, run
node ../_path-to-static-nodejs-server_/server.js