migrate localStorage so people go to cryptpad.fr
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…
Reference in New Issue