diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-21 00:24:14 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-21 00:24:14 +0000 |
commit | ac7e8b2318a0e118d4cb7ced49d109c40908cb85 (patch) | |
tree | 91d8ec03cb9552a47db467b5c0f9c5bea68b6473 /app/lwip/lwipopts.h | |
parent | 8c8218f878609af4719252d16ac0f42bccd9ba5b (diff) | |
download | clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.tar.gz clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.tar.bz2 clock-ac7e8b2318a0e118d4cb7ced49d109c40908cb85.zip |
fix content-type headers, and store a day's worth of weather data
Diffstat (limited to 'app/lwip/lwipopts.h')
-rw-r--r-- | app/lwip/lwipopts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lwip/lwipopts.h b/app/lwip/lwipopts.h index b3e37c7..a44c06c 100644 --- a/app/lwip/lwipopts.h +++ b/app/lwip/lwipopts.h @@ -216,6 +216,8 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_HTTPD_CUSTOM_FILES 1 #define LWIP_HTTPD_FILE_STATE 0 #define LWIP_HTTPD_CGI 1 +#define LWIP_HTTPD_DYNAMIC_HEADERS 1 +#define HTTPD_ADDITIONAL_CONTENT_TYPES {"dat", HTTP_CONTENT_TYPE("application/octet-stream")} #define LWIP_IGMP 1 #define LWIP_MDNS_RESPONDER 1 |