summaryrefslogtreecommitdiff
path: root/js/bin/HttpServer.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-03-20 21:40:11 +0100
committerJose <jose@zeroc.com>2018-03-20 21:41:31 +0100
commitb581f5fc456592b8626b70c7b6bf27d726c7ee40 (patch)
tree042be07b6dbf7d84231373ff88407ee18baf3b07 /js/bin/HttpServer.js
parentAdded sanity checks for ACM timeout value (ICE-8749) (diff)
downloadice-b581f5fc456592b8626b70c7b6bf27d726c7ee40.tar.bz2
ice-b581f5fc456592b8626b70c7b6bf27d726c7ee40.tar.xz
ice-b581f5fc456592b8626b70c7b6bf27d726c7ee40.zip
Load JavaScript es5 tests using /es5/start URL
Diffstat (limited to 'js/bin/HttpServer.js')
-rw-r--r--js/bin/HttpServer.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/bin/HttpServer.js b/js/bin/HttpServer.js
index 2c6a0fb4a80..ee9303041a4 100644
--- a/js/bin/HttpServer.js
+++ b/js/bin/HttpServer.js
@@ -244,6 +244,14 @@ function Init()
});
res.end();
}
+ else if(req.url.pathname === '/es5/start')
+ {
+ res.writeHead(302,
+ {
+ "Location": "/test/es5/Ice/acm/controller.html&port=15002"
+ });
+ res.end();
+ }
else
{
var iceLib = libraries.indexOf(req.url.pathname) !== -1;