Mercurial > libervia-web
changeset 1105:e6ff5530900e
server: fixed service profile's cache
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jun 2018 10:32:57 +0200 |
parents | 9313bcbe45b7 |
children | 09feea19d7b9 |
files | src/server/server.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server/server.py Sun Jun 03 08:03:10 2018 +0200 +++ b/src/server/server.py Sun Jun 03 10:32:57 2018 +0200 @@ -2076,7 +2076,7 @@ """ # now that we have service profile connected, we add resource for its cache service_path = regex.pathEscape(C.SERVICE_PROFILE) - cache_dir = os.path.join(self.cache_root_dir, service_path) + cache_dir = os.path.join(self.cache_root_dir, u'profiles', service_path) self.cache_resource.putChild(service_path, ProtectedFile(cache_dir)) self.service_cache_url = u'/' + os.path.join(C.CACHE_DIR, service_path) session_iface.SATSession.service_cache_url = self.service_cache_url