Skip to content

Commit 8e97d46

Browse files
Compress RPI logo in httpd example (#674)
Tests raspberrypi/pico-sdk#2549
1 parent f83b933 commit 8e97d46

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

pico_w/wifi/httpd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ pico_set_lwip_httpd_content(pico_httpd_content INTERFACE
2828
${CMAKE_CURRENT_LIST_DIR}/content/test.shtml
2929
${CMAKE_CURRENT_LIST_DIR}/content/ledpass.shtml
3030
${CMAKE_CURRENT_LIST_DIR}/content/ledfail.shtml
31-
${CMAKE_CURRENT_LIST_DIR}/content/img/rpi.png
31+
${CMAKE_CURRENT_LIST_DIR}/content/img/rpi.png.gz
3232
)

pico_w/wifi/httpd/content/index.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</head>
55
<body>
66
<h1>Pico httpd example</h1>
7-
<p><img src="/img/rpi.png"/></p>
7+
<p><img src="/img/rpi.png.gz"/></p>
88
<p><!--#welcome--></p>
99
<p>Uptime is <!--#uptime--> seconds</p>
1010
<p><a href="/?test">CGI handler test</a></p>

0 commit comments

Comments
 (0)