summaryrefslogtreecommitdiff
path: root/share/www/script/jspec
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/jspec')
-rw-r--r--share/www/script/jspec/jspec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jspec/jspec.js b/share/www/script/jspec/jspec.js
index d6daf5ef..b2ea4768 100644
--- a/share/www/script/jspec/jspec.js
+++ b/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,