mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-04 12:09:27 +01:00
Serve cached content up through cherrypy. Images/info files available through 'cache/{artwork,info}/<mbid>.<date>.<ext>'
This commit is contained in:
@@ -56,6 +56,10 @@ def initialize(options={}):
|
||||
'/favicon.ico':{
|
||||
'tools.staticfile.on': True,
|
||||
'tools.staticfile.filename': "images/favicon.ico"
|
||||
},
|
||||
'/cache':{
|
||||
'tools.staticdir.on': True,
|
||||
'tools.staticdir.dir': headphones.CACHE_DIR
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user