diff src/server/server.py @ 613:deddd1cd8aa5 frontends_multi_profiles

browser side: added a base_location property to get location of current Libervia instance
author Goffi <goffi@goffi.org>
date Tue, 10 Feb 2015 20:42:39 +0100
parents ea27925ef2a8
children 4f7550a083b4
line wrap: on
line diff
--- a/src/server/server.py	Tue Feb 10 19:38:28 2015 +0100
+++ b/src/server/server.py	Tue Feb 10 20:42:39 2015 +0100
@@ -1107,7 +1107,7 @@
                 """Add a child to the root resource"""
                 root.putChild(path, EncodingResourceWrapper(resource, [server.GzipEncoderFactory()]))
 
-            putChild('', Redirect('libervia.html'))
+            putChild('', Redirect(C.LIBERVIA_MAIN_PAGE))
             putChild('test', Redirect('libervia_test.html'))
             putChild('json_signal_api', self.signal_handler)
             putChild('json_api', MethodHandler(self))