comparison src/server/server.py @ 1045:b2eeb9ac2ab8

server (blog): moved old blog renderer from /blog to /blog_legacy
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 20:26:39 +0100
parents 3d97c93561ff
children 614843c49d6c
comparison
equal deleted inserted replaced
1044:3d97c93561ff 1045:b2eeb9ac2ab8
1469 # files upload 1469 # files upload
1470 self.putChild('upload_radiocol', _upload_radiocol) 1470 self.putChild('upload_radiocol', _upload_radiocol)
1471 self.putChild('upload_avatar', _upload_avatar) 1471 self.putChild('upload_avatar', _upload_avatar)
1472 1472
1473 # static pages 1473 # static pages
1474 self.putChild('blog', MicroBlog(self)) 1474 self.putChild('blog_legacy', MicroBlog(self))
1475 self.putChild(C.THEMES_URL, ProtectedFile(self.themes_dir)) 1475 self.putChild(C.THEMES_URL, ProtectedFile(self.themes_dir))
1476 1476
1477 # websocket 1477 # websocket
1478 if self.options['connection_type'] in ('https', 'both'): 1478 if self.options['connection_type'] in ('https', 'both'):
1479 wss = websockets.LiberviaPageWSProtocol.getResource(self, secure=True) 1479 wss = websockets.LiberviaPageWSProtocol.getResource(self, secure=True)