aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/getURLOfUser.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/getURLOfUser.js')
-rw-r--r--public/javascripts/getURLOfUser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/getURLOfUser.js b/public/javascripts/getURLOfUser.js
index fe03bd6..1d27175 100644
--- a/public/javascripts/getURLOfUser.js
+++ b/public/javascripts/getURLOfUser.js
@@ -2,7 +2,7 @@ var leftPad = require('left-pad')
var getWeek = require('./getWeek')
function getURLOfUsers (weekOffset, type, id) {
- return `http://${window.location.host}/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F` +
+ return `//${window.location.host}/meetingpointProxy/Roosters-AL%2Fdoc%2Fdagroosters%2F` +
`${(getWeek() + weekOffset)}%2F${type}%2F${type}${leftPad(id, 5, '0')}.htm`
}