Custom colors for python http server directory view

47 Views Asked by At

I'm using the Python built-in web server to host my javascript web pages for testing purposes:

python3 -m http.server

When I browse to http://localhost:8000, I'm presented with the default "Directory listing" view, with blinding white background (in my otherwise dark-themed computing environment).

Is there an easy way to make the Python web server have a dark theme for Directory pages? (I'm trying to avoid writing a custom web server in Python, I'm hoping it looks for a config file of some sort that I could just add to my code folders).

0

There are 0 best solutions below