todbot / blink1-tool

Command-line tools and C library for blink(1) USB RGB LED
https://blink1.thingm.com/
Other
84 stars 15 forks source link

blink1-tiny-server improvements #38

Closed normanr closed 3 years ago

normanr commented 3 years ago

Various improvements for blink1-tiny-server. It looks the cs_time() fix works for Windows as-is.

I think it shouldn't be an issue to suppress the default welcome response if there's an index file in document_root. If the supported URIs are needed they could be copied into the index file (all dynamic data is already available at /blink1/). It also allows users to intentionally suppress the welcome message by creating an index file.

Note: server/README.md could be updated to point the index instead of the individual demos - I have not included any changes for it in this PR, please update it as-needed.

normanr commented 3 years ago

@todbot I'm not sure if you saw this PR, so pinging you in case it got missed.

todbot commented 3 years ago

Hi! Thanks for your patience. I had some technology issues. This looks great I'll merge it now.