migrate localStorage so people go to cryptpad.fr

pull/1/head
ansuz 9 years ago
parent a094e3c02e
commit dd3a5d47be

@ -103,6 +103,8 @@ define([
pad.title = hash.slice(0,8);
});
}
pad.href = pad.href.replace(/^https:\/\/beta\.cryptpad\.fr/,
'https://cryptpad.fr');
return pad;
} else {
console.error("[Cryptpad.migrateRecentPads] pad had unexpected value");
@ -210,8 +212,6 @@ define([
return;
}
//var pads = getRecentPads();
var now = new Date();
var href = window.location.href;

Loading…
Cancel
Save