Mercurial > libervia-web
changeset 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 | fa29524774d6 |
children | c030d8235c23 |
files | src/server/server.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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()])