jczic / MicroWebSrv

A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
https://github.com/jczic/MicroWebSrv
MIT License
640 stars 115 forks source link

link css in html,browser 302 found. #69

Closed ub3132003 closed 4 years ago

ub3132003 commented 4 years ago

how to link css file in html . thank

ub3132003 commented 4 years ago

should I code a file server ?

jczic commented 4 years ago

Hello, do you have found?

ub3132003 commented 4 years ago
the simple solution that is return a css file witch browser url request . but I'd like to make a fileserver that I chould coding much less ub313

ub3132003@163.com | 签名由网易邮箱大师定制 On 1/3/2020 13:46,J-Christophe Bosnotifications@github.com wrote:

Hello, do you have found?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

jczic commented 4 years ago

.css files are returned by the server as in the demo page with style.css. Where is your problem exactly, I don't understand.