summaryrefslogtreecommitdiff
path: root/rel/overlay/share/www/script/jspec/jspec.js
diff options
context:
space:
mode:
Diffstat (limited to 'rel/overlay/share/www/script/jspec/jspec.js')
-rw-r--r--rel/overlay/share/www/script/jspec/jspec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/overlay/share/www/script/jspec/jspec.js b/rel/overlay/share/www/script/jspec/jspec.js
index d6daf5ef..b2ea4768 100644
--- a/rel/overlay/share/www/script/jspec/jspec.js
+++ b/rel/overlay/share/www/script/jspec/jspec.js
@@ -87,7 +87,7 @@
*/
Server : function(results, options) {
- var uri = options.uri || 'http://' + window.location.host + '/results'
+ var uri = options.uri || window.location.protocol + "//" + window.location.host + '/results'
JSpec.post(uri, {
stats: JSpec.stats,
options: options,