Personal wiki notebook (not under development)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Development.py 418B

123456789101112131415161718192021
  1. import os
  2. import cherrypy
  3. settings = {
  4. "global": {
  5. "server.thread_pool": 10,
  6. "autoreload.on": True,
  7. "static_filter.root": os.getcwd(),
  8. },
  9. "/static": {
  10. "static_filter.on": True,
  11. "static_filter.dir": "static",
  12. "session_filter.on": False,
  13. },
  14. "/favicon.ico": {
  15. "static_filter.on": True,
  16. "static_filter.file": "static/images/favicon.ico",
  17. "session_filter.on": False,
  18. },
  19. }