config.lua 356 B

1234567891011121314
  1. -- Part of nodemcu-httpserver, contains static configuration for httpserver.
  2. -- Author: Sam Dieck
  3. local conf = {}
  4. -- Basic Authentication Conf
  5. local auth = {}
  6. auth.enabled = true
  7. auth.realm = "nodemcu-httpserver" -- displayed in the login dialog users get
  8. auth.user = "user"
  9. auth.password = "password" -- PLEASE change this
  10. conf.auth = auth
  11. return conf