diff --git a/src/index.html b/src/index.html
index 8686ac5..99efffa 100644
--- a/src/index.html
+++ b/src/index.html
@@ -49,7 +49,7 @@
function toProductionSite() {
var name="site-preference";
- var value=0;
+ var value="0";
var days=30;
var expires = "";
if (days) {
@@ -57,7 +57,7 @@
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = "; expires=" + date.toUTCString();
}
- document.cookie = name + "=" + (value || "") + expires + "; domain=.harambee.utwente.nl path=/";
+ document.cookie = name + "=" + (value || "") + expires + "; domain=.harambee.utwente.nl; path=/";
window.location.href = "https://harambee.utwente.nl";
};