diff src/server/server.py @ 873:0cf250066b8a

server: replaced libervia_test.html redirection by an absolute URL
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 12:40:17 +0100
parents 54f6c5b86a87
children d9b98b8a1847
line wrap: on
line diff
--- a/src/server/server.py	Mon Feb 29 12:40:17 2016 +0100
+++ b/src/server/server.py	Mon Feb 29 12:40:17 2016 +0100
@@ -1489,7 +1489,7 @@
             putChild('radiocol', ProtectedFile(_upload_radiocol.getTmpDir(), defaultType="audio/ogg"))  # FIXME: We cheat for PoC because we know we are on the same host, so we use directly upload dir
             # pyjamas tests, redirected only for dev versions
             if self.version[-1] == 'D':
-                putChild('test', web_util.Redirect('libervia_test.html'))
+                putChild('test', web_util.Redirect('/libervia_test.html'))
 
 
             wrapped = web_resource.EncodingResourceWrapper(root, [server.GzipEncoderFactory()])