diff --git a/Makefile b/Makefile index 2201544..74f5d0b 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ include sdkconfig include ${PWD}/components/libwebsockets/scripts/esp32.mk CFLAGS+= -I$(PROJECT_PATH)/components/libwebsockets/plugins \ + -I$(BUILD_DIR_BASE)/libwebsockets/include \ -I$(PROJECT_PATH)/components/libwebsockets/lib \ -I$(IDF_PATH)/components/heap/include \ -I$(IDF_PATH)/components/soc/include \ diff --git a/components/libwebsockets b/components/libwebsockets index 897e82b..9c7eed1 160000 --- a/components/libwebsockets +++ b/components/libwebsockets @@ -1 +1 @@ -Subproject commit 897e82b5e7e691a95dac370a571f8561c958c407 +Subproject commit 9c7eed17ff370f543c93f6127e8467bde4a6727d diff --git a/main/main.c b/main/main.c index 483e250..154d648 100644 --- a/main/main.c +++ b/main/main.c @@ -140,8 +140,8 @@ void app_main(void) info.options = LWS_SERVER_OPTION_EXPLICIT_VHOSTS | LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT; - info.ssl_cert_filepath = "ssl-pub.pem"; - info.ssl_private_key_filepath = "ssl-pri.pem"; + info.ssl_cert_filepath = "ap-cert.pem"; + info.ssl_private_key_filepath = "ap-key.pem"; info.vhost_name = "station"; info.protocols = protocols_station;