rgbmatrixscreen/nodemcu/httpserver-conf.lua
2016-05-01 15:18:34 -07:00

15 lines
380 B
Lua

-- httpserver-conf.lua
-- Part of nodemcu-httpserver, contains static configuration for httpserver.
-- Author: Sam Dieck
local conf = {}
-- Basic Authentication Conf
local auth = {}
auth.enabled = false
auth.realm = "nodemcu-httpserver" -- displayed in the login dialog users get
auth.user = "user"
auth.password = "password" -- PLEASE change this
conf.auth = auth
return conf