Added basic auth. Added static settings file

This commit is contained in:
Samuel A. Dieck
2015-07-18 23:17:14 -05:00
parent cac11d9a1a
commit be63ee0093
8 changed files with 81 additions and 13 deletions

View File

@@ -4,14 +4,14 @@
# Path to nodemcu-uploader (https://github.com/kmpm/nodemcu-uploader)
NODEMCU-UPLOADER=../nodemcu-uploader/nodemcu-uploader.py
# Serial port
PORT=/dev/cu.usbserial-A602HRAZ
PORT=/dev/ttyUSB0
SPEED=9600
######################################################################
# End of user config
######################################################################
HTTP_FILES := $(wildcard http/*)
LUA_FILES := init.lua httpserver.lua httpserver-request.lua httpserver-static.lua httpserver-header.lua httpserver-error.lua
LUA_FILES := init.lua httpserver.lua httpserver-request.lua httpserver-basicauth.lua httpserver-conf.lua httpserver-static.lua httpserver-header.lua httpserver-error.lua
# Print usage
usage: