From aaec51122c34c8c33a25762c6cb3ddcf140f062c Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 30 Sep 2016 13:32:52 +0200 Subject: added https --- public/javascripts/getURLOfUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/javascripts/getURLOfUser.js') 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` } -- cgit v1.1