cubicweb/web/views/staticcontrollers.py
changeset 11913 4516c3956d46
parent 11870 3a84a79c4ed5
child 12223 79d243a2f0c5
--- a/cubicweb/web/views/staticcontrollers.py	Fri Jan 20 16:53:28 2017 +0100
+++ b/cubicweb/web/views/staticcontrollers.py	Mon Jan 23 11:02:21 2017 +0100
@@ -80,7 +80,6 @@
         self._cw.set_header('last-modified', generateDateTime(os.stat(path).st_mtime))
         if self._cw.is_client_cache_valid():
             return ''
-        # XXX elif uri.startswith('/https/'): uri = uri[6:]
         mimetype, encoding = mimetypes.guess_type(path)
         if mimetype is None:
             mimetype = 'application/octet-stream'
@@ -225,11 +224,7 @@
     __regid__ = 'fckeditor'
 
     def publish(self, rset=None):
-        config = self._cw.vreg.config
-        if self._cw.https:
-            uiprops = config.https_uiprops
-        else:
-            uiprops = config.uiprops
+        uiprops = self._cw.vreg.config.uiprops
         relpath = self.relpath
         if relpath.startswith('fckeditor/'):
             relpath = relpath[len('fckeditor/'):]