Fix web server CSS/JS URL

This commit is contained in:
Otto Winter 2018-06-06 08:12:51 +02:00
parent 2f98adca49
commit 63fb252b46
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -14,8 +14,8 @@ WebServer = esphomelib_ns.WebServer
CONFIG_SCHEMA = vol.Schema({
cv.GenerateID(): cv.declare_variable_id(WebServer),
vol.Optional(CONF_PORT): cv.port,
vol.Optional(CONF_CSS_URL): vol.Url,
vol.Optional(CONF_JS_URL): vol.Url,
vol.Optional(CONF_CSS_URL): cv.string,
vol.Optional(CONF_JS_URL): cv.string,
})